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.001148/0.001148, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 198.6 kB / 16.79 MB, free: 6.809 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.351/1.351, allocations: 222.9 MB / 240.5 MB, free: 4.598 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.9787/0.9787, allocations: 143 MB / 433.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001195, allocations: 63.91 kB / 0.5141 GB, free: 12.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1644, allocations: 82.03 MB / 0.5942 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4446/0.6091, allocations: 146 MB / 0.7368 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000157/0.6093, allocations: 47.47 kB / 0.7369 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.536e-05/0.6093, allocations: 0 / 0.7369 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000136/0.6095, allocations: 4.547 kB / 0.7369 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.691e-05/0.6096, allocations: 13.88 kB / 0.7369 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008484/0.6105, allocations: 208.6 kB / 0.7371 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.6106, allocations: 57.83 kB / 0.7372 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.227e-05/0.6106, allocations: 2.078 kB / 0.7372 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.755e-05/0.6107, allocations: 15.81 kB / 0.7372 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.888e-05/0.6108, allocations: 16.62 kB / 0.7372 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.6108, allocations: 1.375 kB / 0.7372 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005513/0.6114, allocations: 235.4 kB / 0.7374 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.214e-05/0.6114, allocations: 5.375 kB / 0.7374 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.862e-05/0.6115, allocations: 10.56 kB / 0.7374 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.6117, allocations: 78.56 kB / 0.7375 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.6117, allocations: 1.125 kB / 0.7375 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.01e-07/0.6117, allocations: 0 / 0.7375 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.6117, allocations: 0 / 0.7375 GB, free: 7.254 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.0004607/0.6122, allocations: 341.4 kB / 0.7378 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.6123, allocations: 9.938 kB / 0.7378 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003874/0.6127, allocations: 31.33 kB / 0.7379 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.6128, allocations: 164.5 kB / 0.738 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.143e-05/0.6129, allocations: 31.39 kB / 0.7381 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.6129, allocations: 1.406 kB / 0.7381 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.613, allocations: 47.14 kB / 0.7381 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.6131, allocations: 3.938 kB / 0.7381 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.6131, allocations: 7.109 kB / 0.7381 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.677e-05/0.6131, allocations: 5.344 kB / 0.7381 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.522e-05/0.6132, allocations: 20.67 kB / 0.7381 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000382/0.6136, allocations: 255.1 kB / 0.7384 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.227e-05/0.6136, allocations: 23.55 kB / 0.7384 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.033e-05/0.6137, allocations: 10.2 kB / 0.7384 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001618/0.6138, allocations: 94.05 kB / 0.7385 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.6139, allocations: 35.47 kB / 0.7385 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.6139, allocations: 0 / 0.7385 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0002682/0.6142, allocations: 52.48 kB / 0.7386 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.6142, allocations: 56.56 kB / 0.7386 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.514e-05/0.6143, allocations: 108.7 kB / 0.7388 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.6143, allocations: 30.92 kB / 0.7388 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.086e-05/0.6144, allocations: 86.23 kB / 0.7389 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.6144, allocations: 9.594 kB / 0.7389 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.373e-05/0.6145, allocations: 12.62 kB / 0.7389 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.6146, allocations: 319 kB / 0.7392 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.726e-05/0.6146, allocations: 3.031 kB / 0.7392 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.953e-05/0.6146, allocations: 24.86 kB / 0.7392 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.375e-05/0.6147, allocations: 33.97 kB / 0.7392 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.6147, allocations: 0 / 0.7392 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.677e-05/0.6148, allocations: 55.48 kB / 0.7393 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.6148, allocations: 7.719 kB / 0.7393 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.6148, allocations: 1.625 kB / 0.7393 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.6148, allocations: 7.328 kB / 0.7393 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.884e-05/0.6149, allocations: 10.44 kB / 0.7393 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.6149, allocations: 2.484 kB / 0.7393 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.336e-05/0.615, allocations: 8.438 kB / 0.7393 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.615, allocations: 3.125 kB / 0.7393 GB, free: 5.367 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 7.554e-05/0.6151, allocations: 107.7 kB / 0.7394 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.6151, allocations: 1.531 kB / 0.7394 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.481e-05/0.6151, allocations: 9.516 kB / 0.7395 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.6151, allocations: 1.312 kB / 0.7395 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.6151, allocations: 4.938 kB / 0.7395 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.6151, allocations: 4.969 kB / 0.7395 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003033/0.6154, allocations: 359.5 kB / 0.7398 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.6155, allocations: 0 / 0.7398 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.595e-05/0.6155, allocations: 3.438 kB / 0.7398 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.6155, allocations: 8.141 kB / 0.7398 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.6155, allocations: 1.75 kB / 0.7398 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.6155, allocations: 1.281 kB / 0.7398 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.6155, allocations: 4 kB / 0.7398 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.606e-05/0.6156, allocations: 78.83 kB / 0.7399 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.995e-05/0.6157, allocations: 78.52 kB / 0.74 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.6157, allocations: 5.75 kB / 0.74 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.437e-05/0.6158, allocations: 6.219 kB / 0.74 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.336e-05/0.6158, allocations: 9.25 kB / 0.74 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.6158, allocations: 2.281 kB / 0.74 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.07e-05/0.6159, allocations: 84.95 kB / 0.7401 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6159, allocations: 0 / 0.7401 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001947/0.6161, allocations: 7.062 kB / 0.7401 GB, free: 4.57 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.0001246/0.6162, allocations: 103.6 kB / 0.7402 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.668e-05/0.6163, allocations: 17.91 kB / 0.7402 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.6163, allocations: 4 kB / 0.7402 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.146e-05/0.6163, allocations: 6.875 kB / 0.7402 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.6166, allocations: 9.375 kB / 0.7402 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002981/0.6169, allocations: 145.9 kB / 0.7404 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.6172, allocations: 0.6809 MB / 0.741 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.478e-05/0.6172, allocations: 8.812 kB / 0.741 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of SimCode: time 3.71e-07/0.6172, allocations: 0 / 0.741 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of Templates: time 0.002099/0.6193, allocations: 0.6091 MB / 0.7416 GB, free: 3.582 MB / 0.5606 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 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)