Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009034/0.0009035, allocations: 91.45 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005412/0.005412, allocations: 173.7 kB / 16.27 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.269/1.269, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9285/0.9285, allocations: 143.2 MB / 434.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002869/0.000287, allocations: 8 kB / 0.5165 GB, free: 11.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.138, allocations: 83.41 MB / 0.598 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.00114/0.1391, allocations: 1.002 MB / 0.5989 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3687/0.5079, allocations: 143.1 MB / 0.7387 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.46e-05/0.5079, allocations: 5.031 kB / 0.7387 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.807e-05/0.508, allocations: 1.594 kB / 0.7387 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.819e-05/0.508, allocations: 9.453 kB / 0.7387 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003218/0.5083, allocations: 78.14 kB / 0.7388 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.799e-05/0.5084, allocations: 28.2 kB / 0.7389 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.136e-05/0.5085, allocations: 10.2 kB / 0.7389 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.464e-05/0.5085, allocations: 14.19 kB / 0.7389 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.156e-05/0.5086, allocations: 16.86 kB / 0.7389 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.5086, allocations: 5.406 kB / 0.7389 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002335/0.5088, allocations: 77.92 kB / 0.739 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.448e-05/0.5088, allocations: 8.469 kB / 0.739 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.759e-05/0.5089, allocations: 45.48 kB / 0.739 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.509, allocations: 64.53 kB / 0.7391 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.509, allocations: 0.9688 kB / 0.7391 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.413e-06/0.509, allocations: 0 / 0.7391 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.509, allocations: 0 / 0.7391 GB, free: 6.531 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003015/0.5094, allocations: 340.2 kB / 0.7394 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.5094, allocations: 12.78 kB / 0.7394 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.146e-05/0.5094, allocations: 33.77 kB / 0.7395 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001701/0.5096, allocations: 12.47 kB / 0.7395 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.258e-05/0.5097, allocations: 166.9 kB / 0.7396 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.5097, allocations: 11.69 kB / 0.7396 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.5097, allocations: 3.219 kB / 0.7396 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.5099, allocations: 55.52 kB / 0.7397 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.18e-06/0.5099, allocations: 0 / 0.7397 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.5099, allocations: 1.438 kB / 0.7397 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.5099, allocations: 5.312 kB / 0.7397 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.428e-05/0.5099, allocations: 18.02 kB / 0.7397 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001427/0.5101, allocations: 171.8 kB / 0.7399 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.6e-05/0.5102, allocations: 55.61 kB / 0.7399 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.9e-05/0.5102, allocations: 17.98 kB / 0.7399 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.706e-06/0.5102, allocations: 0 / 0.7399 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.5103, allocations: 37.19 kB / 0.74 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 7.81e-07/0.5103, allocations: 0 / 0.74 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.000642/0.5109, allocations: 365.8 kB / 0.7403 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.511, allocations: 52.81 kB / 0.7404 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.193e-05/0.511, allocations: 97 kB / 0.7405 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.511, allocations: 25.7 kB / 0.7405 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.32e-05/0.5111, allocations: 86.08 kB / 0.7406 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.912e-05/0.5111, allocations: 47.97 kB / 0.7406 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-05/0.5111, allocations: 17.95 kB / 0.7406 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.267e-05/0.5112, allocations: 318.5 kB / 0.7409 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.685e-05/0.5113, allocations: 21.84 kB / 0.741 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.709e-05/0.5113, allocations: 38.05 kB / 0.741 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.381e-05/0.5114, allocations: 58.95 kB / 0.7411 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.5114, allocations: 5.219 kB / 0.7411 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001309/0.5116, allocations: 100 kB / 0.7412 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.5116, allocations: 5.5 kB / 0.7412 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.5116, allocations: 5.906 kB / 0.7412 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/0.5116, allocations: 0 / 0.7412 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.5117, allocations: 21.73 kB / 0.7412 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.5117, allocations: 1.281 kB / 0.7412 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.393e-05/0.5118, allocations: 6 kB / 0.7412 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.5118, allocations: 2.781 kB / 0.7412 GB, free: 4.488 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.729e-05/0.5119, allocations: 126.7 kB / 0.7413 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.241e-05/0.5119, allocations: 2.281 kB / 0.7413 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.444e-05/0.5119, allocations: 13.34 kB / 0.7413 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.5119, allocations: 2.484 kB / 0.7413 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.5119, allocations: 0 / 0.7413 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.5119, allocations: 0.7969 kB / 0.7413 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.5121, allocations: 170.7 kB / 0.7415 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.5121, allocations: 1.156 kB / 0.7415 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.5122, allocations: 20.67 kB / 0.7415 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.5122, allocations: 0 / 0.7415 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.5122, allocations: 7.062 kB / 0.7415 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.5122, allocations: 1.344 kB / 0.7415 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.5122, allocations: 0 / 0.7415 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/0.5124, allocations: 142 kB / 0.7417 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.983e-05/0.5125, allocations: 86.5 kB / 0.7418 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.5125, allocations: 5.219 kB / 0.7418 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.32e-05/0.5126, allocations: 3.953 kB / 0.7418 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.65e-05/0.5126, allocations: 6.984 kB / 0.7418 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.218e-06/0.5126, allocations: 10.61 kB / 0.7418 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.555e-05/0.5127, allocations: 77.58 kB / 0.7419 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5127, allocations: 0 / 0.7419 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001936/0.5129, allocations: 16.56 kB / 0.7419 GB, free: 3.859 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003681/0.5132, allocations: 0.6696 MB / 0.7425 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001185/0.5134, allocations: 61.03 kB / 0.7426 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.5134, allocations: 1.219 kB / 0.7426 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.833e-05/0.5134, allocations: 25.17 kB / 0.7426 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001819/0.5136, allocations: 8.953 kB / 0.7426 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.5148, allocations: 1.508 MB / 0.7441 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002017/0.515, allocations: 0.6871 MB / 0.7448 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.686e-05/0.5151, allocations: 9.531 kB / 0.7448 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.997e-05/0.5152, allocations: 17 kB / 0.7448 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of SimCode: time 2.61e-07/0.5152, allocations: 4 kB / 0.7448 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05653/0.5717, allocations: 1.471 MB / 0.7462 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002077/0.5719, allocations: 225.4 kB / 0.7464 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.528/2.1, allocations: 0 / 0.7464 GB, free: 0.7812 MB / 0.5606 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)