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: translateModel(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.00145/0.00145, allocations: 192.1 kB / 17.31 MB, free: 5.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.462/1.462, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.8775/0.8775, allocations: 143.1 MB / 434.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001215, allocations: 63.91 kB / 0.5156 GB, free: 14.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3574, allocations: 82.04 MB / 0.5957 GB, free: 16.11 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1567/0.5141, allocations: 148.3 MB / 0.7405 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001444/0.5143, allocations: 55.86 kB / 0.7405 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.98e-05/0.5144, allocations: 0 / 0.7405 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001119/0.5145, allocations: 4 kB / 0.7405 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.498e-05/0.5147, allocations: 15.91 kB / 0.7406 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008538/0.5155, allocations: 215.2 kB / 0.7408 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.687e-05/0.5156, allocations: 31.91 kB / 0.7408 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.606e-05/0.5157, allocations: 0 / 0.7408 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.719e-05/0.5157, allocations: 15.98 kB / 0.7408 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.832e-05/0.5158, allocations: 15.86 kB / 0.7408 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.5158, allocations: 4 kB / 0.7408 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005011/0.5163, allocations: 191.5 kB / 0.741 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.369e-05/0.5164, allocations: 7.984 kB / 0.741 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.122e-05/0.5164, allocations: 15.94 kB / 0.741 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002899/0.5167, allocations: 123.6 kB / 0.7411 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.5167, allocations: 0 / 0.7411 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5167, allocations: 0 / 0.7411 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.5167, allocations: 0 / 0.7411 GB, free: 10.7 MB / 0.5762 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.0004139/0.5171, allocations: 337.3 kB / 0.7415 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.5172, allocations: 12.03 kB / 0.7415 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003248/0.5175, allocations: 24.81 kB / 0.7415 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.5176, allocations: 168.4 kB / 0.7417 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.536e-05/0.5177, allocations: 29.64 kB / 0.7417 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.466e-06/0.5177, allocations: 0 / 0.7417 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.5179, allocations: 49.67 kB / 0.7417 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.5179, allocations: 3.938 kB / 0.7417 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.5179, allocations: 4 kB / 0.7417 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/0.5179, allocations: 0 / 0.7417 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.177e-05/0.518, allocations: 23.92 kB / 0.7418 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003372/0.5183, allocations: 264.9 kB / 0.742 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.908e-05/0.5184, allocations: 26.58 kB / 0.742 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.834e-05/0.5184, allocations: 4.859 kB / 0.7421 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001509/0.5186, allocations: 93.16 kB / 0.7421 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.5186, allocations: 42.5 kB / 0.7422 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.143e-06/0.5186, allocations: 0 / 0.7422 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0002241/0.5188, allocations: 45.69 kB / 0.7422 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.5189, allocations: 55.41 kB / 0.7423 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.455e-05/0.519, allocations: 105.7 kB / 0.7424 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.519, allocations: 25.7 kB / 0.7424 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.173e-05/0.519, allocations: 92.08 kB / 0.7425 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.562e-06/0.5191, allocations: 4.031 kB / 0.7425 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.262e-05/0.5191, allocations: 25.7 kB / 0.7425 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.5192, allocations: 310.8 kB / 0.7428 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.617e-05/0.5192, allocations: 4 kB / 0.7428 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.71e-05/0.5193, allocations: 30.5 kB / 0.7429 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.202e-05/0.5193, allocations: 30.58 kB / 0.7429 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.5193, allocations: 0 / 0.7429 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.897e-05/0.5194, allocations: 57.53 kB / 0.7429 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.5194, allocations: 8 kB / 0.7429 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.5194, allocations: 3.938 kB / 0.7429 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.5194, allocations: 0 / 0.7429 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.041e-05/0.5195, allocations: 11.94 kB / 0.743 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.974e-06/0.5195, allocations: 3.938 kB / 0.743 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.664e-05/0.5196, allocations: 96 / 0.743 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.5196, allocations: 8 kB / 0.743 GB, free: 8.566 MB / 0.5762 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 7.044e-05/0.5196, allocations: 109.8 kB / 0.7431 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.695e-05/0.5197, allocations: 4 kB / 0.7431 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.059e-05/0.5197, allocations: 7.406 kB / 0.7431 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.5197, allocations: 0 / 0.7431 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.5197, allocations: 3.938 kB / 0.7431 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.5197, allocations: 3.984 kB / 0.7431 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003616/0.5201, allocations: 371.6 kB / 0.7434 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.5201, allocations: 0 / 0.7434 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.509e-05/0.5201, allocations: 4 kB / 0.7435 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.5201, allocations: 3.938 kB / 0.7435 GB, free: 8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.5201, allocations: 4 kB / 0.7435 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.5202, allocations: 0 / 0.7435 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.5202, allocations: 0 / 0.7435 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.742e-05/0.5202, allocations: 81.89 kB / 0.7435 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.432e-05/0.5203, allocations: 81.05 kB / 0.7436 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.5203, allocations: 7.938 kB / 0.7436 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.56e-05/0.5204, allocations: 0 / 0.7436 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.418e-05/0.5204, allocations: 7.984 kB / 0.7436 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.5204, allocations: 0 / 0.7436 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.729e-05/0.5205, allocations: 83.28 kB / 0.7437 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5205, allocations: 0 / 0.7437 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001917/0.5207, allocations: 8.031 kB / 0.7437 GB, free: 7.691 MB / 0.5762 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.0001163/0.5208, allocations: 100.2 kB / 0.7438 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.877e-05/0.5209, allocations: 23.92 kB / 0.7438 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.5209, allocations: 0 / 0.7438 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.097e-05/0.5209, allocations: 4 kB / 0.7438 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.5211, allocations: 8.25 kB / 0.7438 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002987/0.5214, allocations: 127.3 kB / 0.744 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.5217, allocations: 0.6768 MB / 0.7446 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.889e-05/0.5218, allocations: 11.98 kB / 0.7446 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.5219, allocations: 15.38 kB / 0.7447 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of SimCode: time 2.11e-07/0.5219, allocations: 0 / 0.7447 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of Templates: time 0.002598/0.5245, allocations: 0.5677 MB / 0.7452 GB, free: 6.117 MB / 0.5762 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)