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.001211/0.001211, allocations: 105.1 kB / 16.41 MB, free: 5.977 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.001229/0.001229, allocations: 188.8 kB / 17.34 MB, free: 5.586 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8184/0.8184, allocations: 135.1 MB / 426.3 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 70.47 kB / 0.5863 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1648, allocations: 80.92 MB / 0.6653 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.5245/0.6893, allocations: 148.3 MB / 0.8101 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001437/0.6895, allocations: 51.3 kB / 0.8101 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.651e-05/0.6896, allocations: 0 / 0.8101 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001148/0.6897, allocations: 4.438 kB / 0.8101 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 8.413e-05/0.6898, allocations: 16.97 kB / 0.8101 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007411/0.6906, allocations: 214.8 kB / 0.8104 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.807e-05/0.6907, allocations: 38.09 kB / 0.8104 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.235e-05/0.6907, allocations: 1.594 kB / 0.8104 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.298e-05/0.6908, allocations: 12.89 kB / 0.8104 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.412e-05/0.6908, allocations: 18.16 kB / 0.8104 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.6909, allocations: 2.812 kB / 0.8104 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003901/0.6913, allocations: 193 kB / 0.8106 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.788e-05/0.6913, allocations: 16.03 kB / 0.8106 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.606e-05/0.6914, allocations: 11.31 kB / 0.8106 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.000257/0.6916, allocations: 118.8 kB / 0.8107 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.6916, allocations: 0 / 0.8107 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.144e-06/0.6916, allocations: 0 / 0.8107 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.6916, allocations: 0 / 0.8107 GB, free: 11.46 MB / 0.5919 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.0004194/0.6921, allocations: 342.2 kB / 0.8111 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.6921, allocations: 8.703 kB / 0.8111 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003172/0.6924, allocations: 30.67 kB / 0.8111 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.6926, allocations: 160.6 kB / 0.8113 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.612e-05/0.6926, allocations: 32.55 kB / 0.8113 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.767e-06/0.6927, allocations: 3.688 kB / 0.8113 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.6928, allocations: 43.89 kB / 0.8113 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.6928, allocations: 6.812 kB / 0.8113 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.6928, allocations: 3.188 kB / 0.8114 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.834e-05/0.6929, allocations: 1.969 kB / 0.8114 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.867e-05/0.6929, allocations: 27.92 kB / 0.8114 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003513/0.6933, allocations: 262.4 kB / 0.8116 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 4.822e-05/0.6933, allocations: 25.17 kB / 0.8117 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.112e-05/0.6934, allocations: 7.609 kB / 0.8117 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000155/0.6935, allocations: 99.72 kB / 0.8118 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.6936, allocations: 35.69 kB / 0.8118 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.6936, allocations: 0 / 0.8118 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0002294/0.6938, allocations: 51.08 kB / 0.8118 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.6938, allocations: 54.28 kB / 0.8119 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.31e-05/0.6939, allocations: 104.9 kB / 0.812 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.694, allocations: 25.7 kB / 0.812 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.7e-05/0.694, allocations: 94.64 kB / 0.8121 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.047e-06/0.694, allocations: 8.828 kB / 0.8121 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/0.6941, allocations: 12.75 kB / 0.8121 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.6942, allocations: 319.6 kB / 0.8124 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.508e-05/0.6942, allocations: 2.156 kB / 0.8124 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.739e-05/0.6942, allocations: 26.17 kB / 0.8125 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.353e-05/0.6943, allocations: 33.14 kB / 0.8125 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.6943, allocations: 0 / 0.8125 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.204e-05/0.6944, allocations: 53.56 kB / 0.8125 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.6944, allocations: 10.03 kB / 0.8125 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.6944, allocations: 0 / 0.8125 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.6944, allocations: 3.938 kB / 0.8126 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.896e-05/0.6945, allocations: 18.03 kB / 0.8126 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.6945, allocations: 0 / 0.8126 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.889e-05/0.6945, allocations: 3.938 kB / 0.8126 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.6945, allocations: 4.516 kB / 0.8126 GB, free: 9.629 MB / 0.5919 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 0.0001006/0.6946, allocations: 111.9 kB / 0.8127 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.845e-05/0.6947, allocations: 11.64 kB / 0.8127 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.294e-05/0.6947, allocations: 3.125 kB / 0.8127 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.6947, allocations: 0 / 0.8127 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.6947, allocations: 0 / 0.8127 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.6947, allocations: 10.47 kB / 0.8127 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002705/0.695, allocations: 356.2 kB / 0.813 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.695, allocations: 2.375 kB / 0.8131 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.36e-05/0.695, allocations: 2.25 kB / 0.8131 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.6951, allocations: 6.281 kB / 0.8131 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.6951, allocations: 9.781 kB / 0.8131 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.6951, allocations: 0 / 0.8131 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.6951, allocations: 0 / 0.8131 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.321e-05/0.6952, allocations: 73.72 kB / 0.8131 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.993e-05/0.6952, allocations: 79.98 kB / 0.8132 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.6952, allocations: 6.516 kB / 0.8132 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.307e-05/0.6953, allocations: 2.531 kB / 0.8132 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.441e-05/0.6953, allocations: 4.906 kB / 0.8132 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.6953, allocations: 4.031 kB / 0.8132 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.941e-05/0.6954, allocations: 83.91 kB / 0.8133 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6954, allocations: 0 / 0.8133 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001949/0.6956, allocations: 5.562 kB / 0.8133 GB, free: 8.848 MB / 0.5919 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.0001212/0.6957, allocations: 101.1 kB / 0.8134 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.189e-05/0.6958, allocations: 19.83 kB / 0.8134 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.6958, allocations: 4.188 kB / 0.8134 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 9.027e-06/0.6958, allocations: 2.938 kB / 0.8134 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.6961, allocations: 11.97 kB / 0.8135 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002644/0.6963, allocations: 144.8 kB / 0.8136 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000193/0.6965, allocations: 0.6747 MB / 0.8142 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.522e-05/0.6966, allocations: 10.09 kB / 0.8143 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of SimCode: time 2.31e-07/0.6966, allocations: 4.125 kB / 0.8143 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of Templates: time 0.001768/0.6983, allocations: 0.619 MB / 0.8149 GB, free: 7.867 MB / 0.5919 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)