Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003776/0.003776, allocations: 361.2 kB / 16.59 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.557/1.557, allocations: 165.8 MB / 183.1 MB, free: 5.441 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.728/3.728, allocations: 410.8 MB / 0.6001 GB, free: 15.05 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001705/0.001705, allocations: 193.8 kB / 0.6668 GB, free: 6.891 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000455/0.0004553, allocations: 12 kB / 0.7429 GB, free: 8.93 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3924/0.3929, allocations: 67.43 MB / 0.8087 GB, free: 28.76 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.6067/0.9997, allocations: 134.3 MB / 0.9399 GB, free: 1.781 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002806/1, allocations: 142.9 kB / 0.94 GB, free: 1.781 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.516e-05/1, allocations: 0 / 0.94 GB, free: 1.781 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 9.912e-05/1, allocations: 3.984 kB / 0.94 GB, free: 1.781 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 7.146e-05/1, allocations: 14.34 kB / 0.9401 GB, free: 1.781 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006928/1.001, allocations: 135.6 kB / 0.9402 GB, free: 1.777 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001079/1.001, allocations: 46.69 kB / 0.9402 GB, free: 1.777 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.914e-05/1.001, allocations: 1.641 kB / 0.9402 GB, free: 1.777 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.133e-05/1.001, allocations: 14.47 kB / 0.9403 GB, free: 1.777 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.487e-05/1.001, allocations: 16.53 kB / 0.9403 GB, free: 1.773 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/1.001, allocations: 0 / 0.9403 GB, free: 1.773 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004252/1.002, allocations: 102.1 kB / 0.9404 GB, free: 1.77 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 3.757e-05/1.002, allocations: 6.047 kB / 0.9404 GB, free: 1.77 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 3.726e-05/1.002, allocations: 31 kB / 0.9404 GB, free: 1.738 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001976/1.002, allocations: 51.8 kB / 0.9404 GB, free: 1.734 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.002, allocations: 1.734 kB / 0.9405 GB, free: 1.734 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.894e-06/1.002, allocations: 0 / 0.9405 GB, free: 1.734 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/1.002, allocations: 0 / 0.9405 GB, free: 1.734 MB / 474.7 MB 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.000433/1.003, allocations: 338.6 kB / 0.9408 GB, free: 1.375 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/1.003, allocations: 8.562 kB / 0.9408 GB, free: 1.375 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004086/1.003, allocations: 30.73 kB / 0.9408 GB, free: 1.371 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/1.003, allocations: 160.8 kB / 0.941 GB, free: 1.176 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.41e-05/1.003, allocations: 29.88 kB / 0.941 GB, free: 1.145 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/1.003, allocations: 5.484 kB / 0.941 GB, free: 1.141 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/1.004, allocations: 50.52 kB / 0.941 GB, free: 1.109 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/1.004, allocations: 0.9062 kB / 0.941 GB, free: 1.109 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/1.004, allocations: 1.969 kB / 0.941 GB, free: 1.109 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.534e-05/1.004, allocations: 4.344 kB / 0.9411 GB, free: 1.109 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.949e-05/1.004, allocations: 24.86 kB / 0.9411 GB, free: 1.105 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005003/1.004, allocations: 255.2 kB / 0.9413 GB, free: 16.84 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.444e-05/1.004, allocations: 28.94 kB / 0.9413 GB, free: 16.81 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.483e-05/1.004, allocations: 7.656 kB / 0.9414 GB, free: 16.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002096/1.005, allocations: 98.66 kB / 0.9414 GB, free: 16.71 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/1.005, allocations: 33.55 kB / 0.9415 GB, free: 16.67 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 2.314e-06/1.005, allocations: 0.8438 kB / 0.9415 GB, free: 16.67 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002957/1.005, allocations: 48.33 kB / 0.9415 GB, free: 16.64 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/1.005, allocations: 52.88 kB / 0.9416 GB, free: 16.57 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.609e-05/1.005, allocations: 105.5 kB / 0.9417 GB, free: 16.47 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/1.005, allocations: 26.64 kB / 0.9417 GB, free: 16.44 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.119e-05/1.005, allocations: 93.16 kB / 0.9418 GB, free: 16.35 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.008e-05/1.005, allocations: 5.641 kB / 0.9418 GB, free: 16.35 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/1.005, allocations: 0.9062 kB / 0.9418 GB, free: 16.35 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001094/1.005, allocations: 313.3 kB / 0.9421 GB, free: 16.04 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.536e-05/1.005, allocations: 9.141 kB / 0.9421 GB, free: 16.04 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.661e-05/1.005, allocations: 22.06 kB / 0.9421 GB, free: 16.01 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.061e-05/1.005, allocations: 12.45 kB / 0.9421 GB, free: 16.01 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/1.005, allocations: 3.953 kB / 0.9421 GB, free: 16 MB / 490.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001214/1.006, allocations: 57.2 kB / 0.9422 GB, free: 15.97 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/1.006, allocations: 7.094 kB / 0.9422 GB, free: 15.97 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/1.006, allocations: 1.672 kB / 0.9422 GB, free: 15.97 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/1.006, allocations: 0.9688 kB / 0.9422 GB, free: 15.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.549e-05/1.006, allocations: 10.81 kB / 0.9422 GB, free: 15.97 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/1.006, allocations: 1.578 kB / 0.9422 GB, free: 15.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.775e-05/1.006, allocations: 10.22 kB / 0.9422 GB, free: 15.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/1.006, allocations: 1 kB / 0.9422 GB, free: 15.96 MB / 490.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.302e-05/1.006, allocations: 115.7 kB / 0.9423 GB, free: 15.85 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/1.006, allocations: 4.797 kB / 0.9423 GB, free: 15.84 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.615e-05/1.006, allocations: 4.859 kB / 0.9423 GB, free: 15.84 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/1.006, allocations: 0.9688 kB / 0.9424 GB, free: 15.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/1.006, allocations: 0.75 kB / 0.9424 GB, free: 15.84 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.487e-05/1.006, allocations: 80.66 kB / 0.9424 GB, free: 15.75 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/1.006, allocations: 1.062 kB / 0.9424 GB, free: 15.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/1.006, allocations: 12.52 kB / 0.9424 GB, free: 15.74 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2e-05/1.006, allocations: 1.578 kB / 0.9424 GB, free: 15.74 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001227/1.006, allocations: 116.3 kB / 0.9426 GB, free: 15.63 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001474/1.007, allocations: 209.9 kB / 0.9428 GB, free: 15.43 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.582e-05/1.007, allocations: 3.734 kB / 0.9428 GB, free: 15.43 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.249e-05/1.007, allocations: 88.69 kB / 0.9428 GB, free: 15.35 MB / 490.7 MB Notification: Performance of Backend: time 7.81e-07/1.007, allocations: 0 / 0.9428 GB, free: 15.35 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005888/1.007, allocations: 126.1 kB / 0.943 GB, free: 15.28 MB / 490.7 MB Notification: Performance of SimCode: time 0.0005399/1.008, allocations: 0.5789 MB / 0.9435 GB, free: 14.7 MB / 490.7 MB Notification: Performance of Templates: time 0.004584/1.013, allocations: 0.9368 MB / 0.9444 GB, free: 14.57 MB / 490.7 MB