Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001257/0.001257, allocations: 189.6 kB / 16.25 MB, free: 6.152 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.372/1.372, allocations: 222.9 MB / 239.9 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9207/0.9207, allocations: 135.6 MB / 425.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 60.84 kB / 0.5054 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1669, allocations: 81.03 MB / 0.5845 GB, free: 4.344 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4543/0.6213, allocations: 146.2 MB / 0.7272 GB, free: 2.344 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001268/0.6215, allocations: 56.73 kB / 0.7273 GB, free: 2.309 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.281e-05/0.6215, allocations: 0 / 0.7273 GB, free: 2.309 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.603e-05/0.6216, allocations: 1.406 kB / 0.7273 GB, free: 2.309 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.563e-05/0.6217, allocations: 13.91 kB / 0.7273 GB, free: 2.301 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007469/0.6225, allocations: 197.3 kB / 0.7275 GB, free: 2.219 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.6226, allocations: 37.69 kB / 0.7275 GB, free: 2.203 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.117e-05/0.6226, allocations: 9.672 kB / 0.7275 GB, free: 2.195 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.797e-05/0.6227, allocations: 15.39 kB / 0.7275 GB, free: 2.191 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.925e-05/0.6227, allocations: 10.56 kB / 0.7276 GB, free: 2.191 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.6228, allocations: 4 kB / 0.7276 GB, free: 2.188 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004599/0.6232, allocations: 202.6 kB / 0.7277 GB, free: 2.105 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.734e-05/0.6233, allocations: 18.06 kB / 0.7278 GB, free: 2.094 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.557e-05/0.6233, allocations: 7.094 kB / 0.7278 GB, free: 2.094 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000292/0.6236, allocations: 127.3 kB / 0.7279 GB, free: 2.059 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.6236, allocations: 1.062 kB / 0.7279 GB, free: 2.059 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6236, allocations: 0 / 0.7279 GB, free: 2.059 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.848e-06/0.6237, allocations: 0 / 0.7279 GB, free: 2.059 MB / 0.545 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.0004582/0.6241, allocations: 343.5 kB / 0.7282 GB, free: 1.699 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.6242, allocations: 12.75 kB / 0.7282 GB, free: 1.695 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003101/0.6245, allocations: 25.12 kB / 0.7283 GB, free: 1.695 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.6246, allocations: 167.5 kB / 0.7284 GB, free: 1.496 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.661e-05/0.6247, allocations: 31.77 kB / 0.7284 GB, free: 1.461 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.6247, allocations: 5.156 kB / 0.7285 GB, free: 1.457 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.6249, allocations: 44.28 kB / 0.7285 GB, free: 1.426 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.6249, allocations: 1.594 kB / 0.7285 GB, free: 1.426 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.6249, allocations: 9.547 kB / 0.7285 GB, free: 1.418 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/0.6249, allocations: 2.188 kB / 0.7285 GB, free: 1.418 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.3e-05/0.625, allocations: 20.67 kB / 0.7285 GB, free: 1.414 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003689/0.6254, allocations: 264.1 kB / 0.7288 GB, free: 1.133 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.869e-05/0.6254, allocations: 24.5 kB / 0.7288 GB, free: 1.105 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.236e-05/0.6255, allocations: 7.922 kB / 0.7288 GB, free: 1.098 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001538/0.6256, allocations: 106.4 kB / 0.7289 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.6257, allocations: 33.39 kB / 0.7289 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.6257, allocations: 0 / 0.7289 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002428/0.6259, allocations: 55.39 kB / 0.729 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.626, allocations: 52.53 kB / 0.729 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.684e-05/0.626, allocations: 110.6 kB / 0.7292 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.6261, allocations: 26.7 kB / 0.7292 GB, free: 0.707 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.306e-05/0.6261, allocations: 90.34 kB / 0.7293 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.995e-06/0.6261, allocations: 5.734 kB / 0.7293 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/0.6262, allocations: 17.86 kB / 0.7293 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.6263, allocations: 312.7 kB / 0.7296 GB, free: 288 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.667e-05/0.6263, allocations: 4.516 kB / 0.7296 GB, free: 288 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.284e-05/0.6264, allocations: 28.95 kB / 0.7296 GB, free: 256 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.991e-05/0.6264, allocations: 32.72 kB / 0.7296 GB, free: 224 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.6264, allocations: 1.188 kB / 0.7296 GB, free: 224 kB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.316e-05/0.6265, allocations: 52.53 kB / 0.7297 GB, free: 184 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.6265, allocations: 5.531 kB / 0.7297 GB, free: 184 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.6266, allocations: 5.188 kB / 0.7297 GB, free: 180 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.6266, allocations: 1.891 kB / 0.7297 GB, free: 180 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.36e-05/0.6266, allocations: 9.734 kB / 0.7297 GB, free: 180 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.6266, allocations: 1.688 kB / 0.7297 GB, free: 180 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.088e-05/0.6267, allocations: 5.188 kB / 0.7297 GB, free: 176 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.6267, allocations: 1.156 kB / 0.7297 GB, free: 176 kB / 0.545 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 8.277e-05/0.6268, allocations: 113.5 kB / 0.7298 GB, free: 56 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.6268, allocations: 1.312 kB / 0.7298 GB, free: 56 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.805e-05/0.6268, allocations: 5.109 kB / 0.7298 GB, free: 56 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.6268, allocations: 5.672 kB / 0.7298 GB, free: 52 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.6269, allocations: 0 / 0.7298 GB, free: 52 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.6269, allocations: 9 kB / 0.7299 GB, free: 44 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003208/0.6272, allocations: 359.7 kB / 0.7302 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.6272, allocations: 1.094 kB / 0.7302 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.78e-05/0.6272, allocations: 8 kB / 0.7302 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.6272, allocations: 3.938 kB / 0.7302 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.6273, allocations: 9.25 kB / 0.7302 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.6273, allocations: 3.469 kB / 0.7302 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.6273, allocations: 0 / 0.7302 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.523e-05/0.6274, allocations: 66.33 kB / 0.7303 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.082e-05/0.6274, allocations: 79.09 kB / 0.7304 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.6274, allocations: 9.719 kB / 0.7304 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.748e-05/0.6275, allocations: 9.031 kB / 0.7304 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.519e-05/0.6275, allocations: 1.734 kB / 0.7304 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.6276, allocations: 1.703 kB / 0.7304 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.188e-05/0.6276, allocations: 79.91 kB / 0.7305 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6276, allocations: 1.031 kB / 0.7305 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001856/0.6278, allocations: 6.219 kB / 0.7305 GB, free: 15.38 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.0001284/0.6279, allocations: 105.3 kB / 0.7306 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.185e-05/0.628, allocations: 16.42 kB / 0.7306 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.628, allocations: 1.219 kB / 0.7306 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.307e-05/0.628, allocations: 7.75 kB / 0.7306 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.6283, allocations: 14.89 kB / 0.7306 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000282/0.6286, allocations: 124.4 kB / 0.7307 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.6289, allocations: 0.6763 MB / 0.7314 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.251e-05/0.6289, allocations: 11.41 kB / 0.7314 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.505e-05/0.629, allocations: 8.812 kB / 0.7314 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of SimCode: time 4.31e-07/0.629, allocations: 0 / 0.7314 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of Templates: time 0.003005/0.632, allocations: 0.5729 MB / 0.732 GB, free: 14.38 MB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)