Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.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.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion",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.001098/0.001098, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.00107/0.00107, allocations: 194.7 kB / 16.14 MB, free: 6.715 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.243/1.243, allocations: 222.9 MB / 239.8 MB, free: 4.613 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.8698/0.8698, allocations: 143 MB / 433 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001058/0.001058, allocations: 55.91 kB / 0.5136 GB, free: 12.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1271, allocations: 82.04 MB / 0.5937 GB, free: 10 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.3159/0.443, allocations: 146 MB / 0.7363 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001158/0.4432, allocations: 53.11 kB / 0.7364 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.507e-05/0.4432, allocations: 1.094 kB / 0.7364 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 8.603e-05/0.4433, allocations: 1.219 kB / 0.7364 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.46e-05/0.4434, allocations: 14.22 kB / 0.7364 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005922/0.444, allocations: 204.2 kB / 0.7366 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.176e-05/0.4441, allocations: 57.69 kB / 0.7366 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 2.507e-05/0.4441, allocations: 3.172 kB / 0.7366 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.916e-05/0.4441, allocations: 14.48 kB / 0.7366 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.605e-05/0.4442, allocations: 21.89 kB / 0.7367 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.4442, allocations: 1.281 kB / 0.7367 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003895/0.4446, allocations: 227.4 kB / 0.7369 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.523e-05/0.4447, allocations: 6.078 kB / 0.7369 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.106e-05/0.4447, allocations: 19.64 kB / 0.7369 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.4449, allocations: 124.4 kB / 0.737 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.4449, allocations: 0 / 0.737 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.01e-07/0.4449, allocations: 3.938 kB / 0.737 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.4449, allocations: 0 / 0.737 GB, free: 7.164 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.0003214/0.4453, allocations: 346.9 kB / 0.7374 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.4453, allocations: 13.41 kB / 0.7374 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.953e-05/0.4453, allocations: 33.62 kB / 0.7374 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002815/0.4456, allocations: 22.05 kB / 0.7374 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.388e-05/0.4457, allocations: 165.8 kB / 0.7376 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.609e-05/0.4458, allocations: 31.02 kB / 0.7376 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.173e-06/0.4458, allocations: 1.375 kB / 0.7376 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.4459, allocations: 57.09 kB / 0.7377 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.64e-06/0.4459, allocations: 0 / 0.7377 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.956e-06/0.4459, allocations: 0 / 0.7377 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/0.446, allocations: 6.75 kB / 0.7377 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.238e-05/0.446, allocations: 18.94 kB / 0.7377 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002848/0.4463, allocations: 262 kB / 0.7379 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.937e-05/0.4464, allocations: 18.7 kB / 0.738 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.676e-05/0.4464, allocations: 14.05 kB / 0.738 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00013/0.4465, allocations: 94.36 kB / 0.7381 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.767e-05/0.4465, allocations: 30.56 kB / 0.7381 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.4466, allocations: 1.375 kB / 0.7381 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0002101/0.4468, allocations: 56.36 kB / 0.7381 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.46e-05/0.4468, allocations: 55.44 kB / 0.7382 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.803e-05/0.4469, allocations: 107.4 kB / 0.7383 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.4469, allocations: 25.7 kB / 0.7383 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.753e-05/0.4469, allocations: 95.83 kB / 0.7384 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.5e-06/0.4469, allocations: 1.375 kB / 0.7384 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.786e-05/0.447, allocations: 18.41 kB / 0.7384 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.276e-05/0.4471, allocations: 313.3 kB / 0.7387 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.477e-05/0.4471, allocations: 8.125 kB / 0.7387 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.337e-05/0.4471, allocations: 24.39 kB / 0.7388 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.534e-05/0.4472, allocations: 33.06 kB / 0.7388 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.4472, allocations: 5.312 kB / 0.7388 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.182e-05/0.4472, allocations: 60.41 kB / 0.7389 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.4473, allocations: 5.5 kB / 0.7389 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.4473, allocations: 1.375 kB / 0.7389 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.916e-06/0.4473, allocations: 1.375 kB / 0.7389 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.731e-05/0.4473, allocations: 7.938 kB / 0.7389 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.4473, allocations: 5.312 kB / 0.7389 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.659e-05/0.4474, allocations: 1.375 kB / 0.7389 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-06/0.4474, allocations: 1.375 kB / 0.7389 GB, free: 5.238 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 5.861e-05/0.4474, allocations: 117.1 kB / 0.739 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.4475, allocations: 5.438 kB / 0.739 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.68e-05/0.4475, allocations: 6.891 kB / 0.739 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-06/0.4475, allocations: 0 / 0.739 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4475, allocations: 3.938 kB / 0.739 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-06/0.4475, allocations: 1.375 kB / 0.739 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/0.4478, allocations: 364.5 kB / 0.7394 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4478, allocations: 1.375 kB / 0.7394 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.364e-05/0.4478, allocations: 3.438 kB / 0.7394 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.4478, allocations: 9.312 kB / 0.7394 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-06/0.4478, allocations: 0 / 0.7394 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.4478, allocations: 1.375 kB / 0.7394 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.4478, allocations: 3.953 kB / 0.7394 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.359e-05/0.4479, allocations: 64.25 kB / 0.7394 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.601e-05/0.448, allocations: 84.58 kB / 0.7395 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.448, allocations: 9.688 kB / 0.7395 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.713e-05/0.4481, allocations: 4.672 kB / 0.7395 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.47e-05/0.4481, allocations: 3.938 kB / 0.7395 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.4481, allocations: 1.938 kB / 0.7395 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.197e-05/0.4481, allocations: 85.59 kB / 0.7396 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4481, allocations: 0 / 0.7396 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001858/0.4483, allocations: 9.125 kB / 0.7396 GB, free: 4.441 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0002987/0.4486, allocations: 0.6101 MB / 0.7402 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.267e-05/0.4487, allocations: 17.94 kB / 0.7402 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4487, allocations: 0.75 kB / 0.7402 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.007e-05/0.4487, allocations: 10.02 kB / 0.7403 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.4489, allocations: 9.625 kB / 0.7403 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003/0.4492, allocations: 149.8 kB / 0.7404 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001887/0.4494, allocations: 0.6797 MB / 0.7411 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.331e-05/0.4495, allocations: 9.562 kB / 0.7411 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.431e-05/0.4495, allocations: 8.531 kB / 0.7411 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/0.4495, allocations: 0 / 0.7411 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01832/0.4678, allocations: 1.325 MB / 0.7424 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002096/0.4681, allocations: 213.7 kB / 0.7426 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.754/2.222, allocations: 0 / 0.7426 GB, free: 2.492 MB / 0.5606 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)