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.001413/0.001417, allocations: 188.1 kB / 15.77 MB, free: 5.996 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.7442/0.7442, allocations: 82.92 MB / 99.42 MB, free: 3.281 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.336/2.336, allocations: 205.4 MB / 325.4 MB, free: 3.352 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001048/0.001048, allocations: 98.84 kB / 393.6 MB, free: 15.1 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004579/0.000458, allocations: 16 kB / 471.5 MB, free: 66.58 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1034, allocations: 67.44 MB / 0.5263 GB, free: 15.11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.524/0.6275, allocations: 125.2 MB / 0.6486 GB, free: 10.69 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002814/0.6278, allocations: 133.6 kB / 0.6488 GB, free: 10.58 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.531e-05/0.6279, allocations: 0 / 0.6488 GB, free: 10.58 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 9.628e-05/0.628, allocations: 0 / 0.6488 GB, free: 10.58 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.023e-05/0.628, allocations: 10.64 kB / 0.6488 GB, free: 10.57 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00064/0.6287, allocations: 146.7 kB / 0.6489 GB, free: 10.46 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.888e-05/0.6287, allocations: 21.12 kB / 0.6489 GB, free: 10.45 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.79e-05/0.6288, allocations: 7.875 kB / 0.6489 GB, free: 10.45 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.358e-05/0.6288, allocations: 10.64 kB / 0.6489 GB, free: 10.44 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.299e-05/0.6289, allocations: 6.75 kB / 0.649 GB, free: 10.44 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.6289, allocations: 1.969 kB / 0.649 GB, free: 10.44 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003653/0.6293, allocations: 106.8 kB / 0.6491 GB, free: 10.39 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.715e-05/0.6294, allocations: 16.08 kB / 0.6491 GB, free: 10.38 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.873e-05/0.6294, allocations: 28.08 kB / 0.6491 GB, free: 10.34 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.6296, allocations: 53.28 kB / 0.6492 GB, free: 10.32 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.418e-06/0.6296, allocations: 0 / 0.6492 GB, free: 10.32 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.247e-06/0.6296, allocations: 1.031 kB / 0.6492 GB, free: 10.32 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.682e-06/0.6296, allocations: 0 / 0.6492 GB, free: 10.32 MB / 442.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.0004175/0.63, allocations: 335.6 kB / 0.6495 GB, free: 9.961 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.6301, allocations: 8.688 kB / 0.6495 GB, free: 9.961 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000375/0.6305, allocations: 32.66 kB / 0.6495 GB, free: 9.945 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.6306, allocations: 159.1 kB / 0.6497 GB, free: 9.75 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.957e-05/0.6307, allocations: 36.75 kB / 0.6497 GB, free: 9.711 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.6308, allocations: 3.953 kB / 0.6497 GB, free: 9.707 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.6309, allocations: 45.59 kB / 0.6497 GB, free: 9.668 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.631, allocations: 0 / 0.6497 GB, free: 9.668 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.631, allocations: 0 / 0.6497 GB, free: 9.668 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.291e-05/0.631, allocations: 11.25 kB / 0.6498 GB, free: 9.66 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.912e-05/0.6311, allocations: 22.42 kB / 0.6498 GB, free: 9.652 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004118/0.6315, allocations: 254.2 kB / 0.65 GB, free: 9.367 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.565e-05/0.6316, allocations: 22.45 kB / 0.65 GB, free: 9.344 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.252e-05/0.6317, allocations: 0 / 0.65 GB, free: 9.344 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.6317, allocations: 40.88 kB / 0.6501 GB, free: 9.297 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 4.162e-06/0.6317, allocations: 0 / 0.6501 GB, free: 9.297 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.000291/0.632, allocations: 58.77 kB / 0.6501 GB, free: 9.25 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.6321, allocations: 53.03 kB / 0.6502 GB, free: 9.188 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.716e-05/0.6322, allocations: 100.2 kB / 0.6503 GB, free: 9.086 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.6322, allocations: 25.7 kB / 0.6503 GB, free: 9.055 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.47e-05/0.6323, allocations: 93.66 kB / 0.6504 GB, free: 8.961 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.061e-05/0.6323, allocations: 3.906 kB / 0.6504 GB, free: 8.957 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.739e-06/0.6323, allocations: 5.688 kB / 0.6504 GB, free: 8.953 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.6325, allocations: 314.8 kB / 0.6507 GB, free: 8.637 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.746e-05/0.6325, allocations: 8.797 kB / 0.6507 GB, free: 8.633 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.662e-05/0.6326, allocations: 14.5 kB / 0.6507 GB, free: 8.617 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.006e-05/0.6326, allocations: 13.28 kB / 0.6507 GB, free: 8.609 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.175e-06/0.6327, allocations: 5.266 kB / 0.6507 GB, free: 8.605 MB / 442.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001243/0.6328, allocations: 51 kB / 0.6508 GB, free: 8.566 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.6328, allocations: 15.3 kB / 0.6508 GB, free: 8.559 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.518e-06/0.6328, allocations: 0 / 0.6508 GB, free: 8.559 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.6329, allocations: 3.938 kB / 0.6508 GB, free: 8.555 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.344e-05/0.6329, allocations: 9.375 kB / 0.6508 GB, free: 8.551 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.07e-06/0.633, allocations: 0 / 0.6508 GB, free: 8.551 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.437e-05/0.633, allocations: 10.03 kB / 0.6508 GB, free: 8.543 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.679e-06/0.633, allocations: 0 / 0.6508 GB, free: 8.543 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 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.925e-05/0.6331, allocations: 110.2 kB / 0.6509 GB, free: 8.43 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.247e-05/0.6332, allocations: 3.953 kB / 0.6509 GB, free: 8.426 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.711e-05/0.6332, allocations: 17.84 kB / 0.651 GB, free: 8.41 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.281e-06/0.6333, allocations: 3.938 kB / 0.651 GB, free: 8.406 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.6333, allocations: 0 / 0.651 GB, free: 8.406 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.697e-06/0.6333, allocations: 3.984 kB / 0.651 GB, free: 8.402 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004186/0.6337, allocations: 363.6 kB / 0.6513 GB, free: 8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.153e-06/0.6337, allocations: 3.062 kB / 0.6513 GB, free: 8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.898e-05/0.6338, allocations: 3.312 kB / 0.6513 GB, free: 8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.123e-06/0.6338, allocations: 0 / 0.6513 GB, free: 8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.6338, allocations: 9.062 kB / 0.6513 GB, free: 7.992 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.48e-06/0.6338, allocations: 0 / 0.6513 GB, free: 7.992 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.246e-06/0.6338, allocations: 2.844 kB / 0.6513 GB, free: 7.992 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.634, allocations: 91.41 kB / 0.6514 GB, free: 7.887 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.042e-05/0.634, allocations: 77.11 kB / 0.6515 GB, free: 7.793 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.6341, allocations: 6.656 kB / 0.6515 GB, free: 7.789 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.6342, allocations: 7.672 kB / 0.6515 GB, free: 7.785 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.775e-05/0.6342, allocations: 2.844 kB / 0.6515 GB, free: 7.785 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.863e-06/0.6342, allocations: 0 / 0.6515 GB, free: 7.785 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.09e-05/0.6343, allocations: 85.73 kB / 0.6516 GB, free: 7.703 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.78e-07/0.6343, allocations: 0 / 0.6516 GB, free: 7.703 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002656/0.6346, allocations: 7.219 kB / 0.6516 GB, free: 7.703 MB / 442.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001423/0.6347, allocations: 107.8 kB / 0.6517 GB, free: 7.605 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 9.965e-05/0.6349, allocations: 20.59 kB / 0.6517 GB, free: 7.598 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.242e-06/0.6349, allocations: 0 / 0.6517 GB, free: 7.598 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.454e-05/0.6349, allocations: 9.047 kB / 0.6517 GB, free: 7.594 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001891/0.6351, allocations: 6.062 kB / 0.6517 GB, free: 7.59 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003038/0.6354, allocations: 128.4 kB / 0.6519 GB, free: 7.461 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.6358, allocations: 0.6825 MB / 0.6525 GB, free: 6.758 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 8.444e-05/0.6359, allocations: 13.05 kB / 0.6525 GB, free: 6.75 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.614e-05/0.6359, allocations: 7.438 kB / 0.6525 GB, free: 6.742 MB / 442.7 MB Notification: Performance of SimCode: time 1.392e-06/0.636, allocations: 4 kB / 0.6525 GB, free: 6.738 MB / 442.7 MB Notification: Performance of Templates: time 0.002908/0.6389, allocations: 0.5097 MB / 0.653 GB, free: 6.477 MB / 442.7 MB