Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",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.001028/0.001028, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001048/0.001048, allocations: 192.8 kB / 16.13 MB, free: 6.703 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.252/1.252, allocations: 222.9 MB / 239.8 MB, free: 4.629 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.9322/0.9322, allocations: 143 MB / 433 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 63.89 kB / 0.5136 GB, free: 12.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1362, allocations: 82.04 MB / 0.5937 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.3431/0.4793, allocations: 145.6 MB / 0.7359 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001296/0.4795, allocations: 53.5 kB / 0.7359 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.969e-05/0.4795, allocations: 0 / 0.7359 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00011/0.4796, allocations: 6.578 kB / 0.7359 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.904e-05/0.4797, allocations: 11.22 kB / 0.736 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003985/0.4801, allocations: 100.2 kB / 0.7361 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.55e-05/0.4803, allocations: 62.33 kB / 0.7361 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.454e-05/0.4803, allocations: 1.797 kB / 0.7361 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.531e-05/0.4803, allocations: 11.78 kB / 0.7361 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.075e-05/0.4804, allocations: 21.17 kB / 0.7361 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.4804, allocations: 1.062 kB / 0.7361 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002344/0.4807, allocations: 77.22 kB / 0.7362 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.249e-05/0.4807, allocations: 14.36 kB / 0.7362 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.812e-05/0.4808, allocations: 10.31 kB / 0.7362 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.4809, allocations: 70.59 kB / 0.7363 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.4809, allocations: 0 / 0.7363 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.11e-07/0.4809, allocations: 0 / 0.7363 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.006e-06/0.4809, allocations: 0 / 0.7363 GB, free: 7.598 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003622/0.4813, allocations: 339.5 kB / 0.7366 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.4813, allocations: 9.656 kB / 0.7366 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.736e-05/0.4814, allocations: 36.55 kB / 0.7367 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002135/0.4816, allocations: 25.47 kB / 0.7367 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.83e-05/0.4817, allocations: 163.9 kB / 0.7369 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.434e-05/0.4818, allocations: 38.42 kB / 0.7369 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.4818, allocations: 0.9062 kB / 0.7369 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.4819, allocations: 44.91 kB / 0.7369 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.4819, allocations: 0 / 0.7369 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.482, allocations: 0 / 0.7369 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/0.482, allocations: 8.656 kB / 0.737 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.293e-05/0.482, allocations: 20.92 kB / 0.737 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003536/0.4824, allocations: 261.8 kB / 0.7372 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.558e-05/0.4824, allocations: 16.55 kB / 0.7372 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.583e-05/0.4825, allocations: 6.109 kB / 0.7372 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.074e-06/0.4825, allocations: 5.719 kB / 0.7372 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.4825, allocations: 30.56 kB / 0.7373 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.4825, allocations: 0.6562 kB / 0.7373 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001315/0.4826, allocations: 45.41 kB / 0.7373 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.4827, allocations: 56.78 kB / 0.7374 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.575e-05/0.4828, allocations: 105 kB / 0.7375 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.4828, allocations: 25.7 kB / 0.7375 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.964e-05/0.4828, allocations: 91.91 kB / 0.7376 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.052e-06/0.4829, allocations: 7.906 kB / 0.7376 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.299e-05/0.4829, allocations: 19.94 kB / 0.7376 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.483, allocations: 312.8 kB / 0.7379 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.854e-05/0.483, allocations: 10.05 kB / 0.7379 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.727e-05/0.4831, allocations: 23.64 kB / 0.7379 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.235e-05/0.4831, allocations: 36.3 kB / 0.738 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4831, allocations: 1.5 kB / 0.738 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.074e-05/0.4832, allocations: 51.61 kB / 0.738 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.4832, allocations: 5.531 kB / 0.738 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.4832, allocations: 1.406 kB / 0.738 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.4832, allocations: 0 / 0.738 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.935e-05/0.4833, allocations: 8.734 kB / 0.738 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.4833, allocations: 5.219 kB / 0.738 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.625e-05/0.4834, allocations: 5.25 kB / 0.7381 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.4834, allocations: 2.766 kB / 0.7381 GB, free: 5.77 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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 6.569e-05/0.4834, allocations: 112.8 kB / 0.7382 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/0.4835, allocations: 1.688 kB / 0.7382 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.734e-05/0.4835, allocations: 10.25 kB / 0.7382 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.4835, allocations: 3.984 kB / 0.7382 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4835, allocations: 3.938 kB / 0.7382 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.512e-06/0.4835, allocations: 0.9062 kB / 0.7382 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/0.4838, allocations: 350.7 kB / 0.7385 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.4838, allocations: 3.938 kB / 0.7385 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.421e-05/0.4838, allocations: 4.656 kB / 0.7385 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.4838, allocations: 3.938 kB / 0.7385 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.4838, allocations: 1 kB / 0.7385 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4838, allocations: 0 / 0.7385 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.4838, allocations: 2 kB / 0.7385 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.172e-05/0.4839, allocations: 65.64 kB / 0.7386 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.925e-05/0.484, allocations: 81.05 kB / 0.7387 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.484, allocations: 1.281 kB / 0.7387 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.299e-05/0.4841, allocations: 4.516 kB / 0.7387 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.528e-06/0.4841, allocations: 0.5625 kB / 0.7387 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.4841, allocations: 1.312 kB / 0.7387 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.13e-05/0.4841, allocations: 91.45 kB / 0.7388 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4841, allocations: 0 / 0.7388 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001915/0.4843, allocations: 10.28 kB / 0.7388 GB, free: 4.992 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (1): * Single equations (assignments): 1 * 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.0002825/0.4846, allocations: 0.5964 MB / 0.7394 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.119e-05/0.4847, allocations: 14.83 kB / 0.7394 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4847, allocations: 1.656 kB / 0.7394 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.81e-06/0.4847, allocations: 5.406 kB / 0.7394 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.4849, allocations: 2.75 kB / 0.7394 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003175/0.4853, allocations: 146.5 kB / 0.7395 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/0.4855, allocations: 0.6809 MB / 0.7402 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.532e-05/0.4855, allocations: 9.562 kB / 0.7402 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.531e-05/0.4856, allocations: 9 kB / 0.7402 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of SimCode: time 2.11e-07/0.4856, allocations: 1.344 kB / 0.7402 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009842/0.4954, allocations: 1.237 MB / 0.7414 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001762/0.4956, allocations: 250.1 kB / 0.7417 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.53/2.026, allocations: 0 / 0.7417 GB, free: 3.105 MB / 0.5606 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)