Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001377/0.001377, allocations: 104.7 kB / 16.41 MB, free: 6.496 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.001467/0.001467, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.484/1.484, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7971/0.7971, allocations: 132.2 MB / 423.4 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 65.98 kB / 0.582 GB, free: 23.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1574, allocations: 80.21 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.5625/0.72, allocations: 148.3 MB / 0.8051 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001528/0.7202, allocations: 66.52 kB / 0.8052 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.076e-05/0.7203, allocations: 1 kB / 0.8052 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.7204, allocations: 2.531 kB / 0.8052 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 8.448e-05/0.7205, allocations: 18.19 kB / 0.8052 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007254/0.7213, allocations: 212.8 kB / 0.8054 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.765e-05/0.7214, allocations: 33.58 kB / 0.8054 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.826e-05/0.7214, allocations: 3.578 kB / 0.8054 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.31e-05/0.7214, allocations: 14.39 kB / 0.8054 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.427e-05/0.7215, allocations: 15.22 kB / 0.8054 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.7215, allocations: 1.438 kB / 0.8054 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003765/0.7219, allocations: 199 kB / 0.8056 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 3.933e-05/0.722, allocations: 10.86 kB / 0.8056 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.762e-05/0.722, allocations: 14.55 kB / 0.8057 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.7222, allocations: 107.9 kB / 0.8058 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.7222, allocations: 7.688 kB / 0.8058 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.795e-06/0.7222, allocations: 0 / 0.8058 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.7223, allocations: 5.188 kB / 0.8058 GB, free: 11.88 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.0003997/0.7227, allocations: 339.8 kB / 0.8061 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.7227, allocations: 8.875 kB / 0.8061 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003167/0.723, allocations: 27.14 kB / 0.8061 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.7231, allocations: 164.3 kB / 0.8063 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.004e-05/0.7232, allocations: 34.58 kB / 0.8063 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.7232, allocations: 5.062 kB / 0.8063 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.7234, allocations: 49.73 kB / 0.8064 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.7234, allocations: 0 / 0.8064 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.7234, allocations: 2.812 kB / 0.8064 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.7234, allocations: 2.125 kB / 0.8064 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.748e-05/0.7235, allocations: 28.28 kB / 0.8064 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003403/0.7238, allocations: 258.8 kB / 0.8067 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 4.945e-05/0.7239, allocations: 22.95 kB / 0.8067 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.198e-05/0.7239, allocations: 12.7 kB / 0.8067 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001495/0.7241, allocations: 91.52 kB / 0.8068 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.7241, allocations: 35.59 kB / 0.8068 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.513e-06/0.7241, allocations: 4 kB / 0.8068 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0002194/0.7244, allocations: 48.62 kB / 0.8069 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.7245, allocations: 55.11 kB / 0.8069 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.912e-05/0.7245, allocations: 105.7 kB / 0.807 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.7246, allocations: 25.7 kB / 0.807 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.631e-05/0.7246, allocations: 89.48 kB / 0.8071 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.614e-06/0.7246, allocations: 5 kB / 0.8071 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.084e-05/0.7247, allocations: 22.86 kB / 0.8072 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.7248, allocations: 311.9 kB / 0.8074 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.572e-05/0.7248, allocations: 8.547 kB / 0.8075 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.42e-05/0.7248, allocations: 22.23 kB / 0.8075 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.203e-05/0.7249, allocations: 35.05 kB / 0.8075 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.7249, allocations: 0 / 0.8075 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.659e-05/0.725, allocations: 57.59 kB / 0.8076 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.725, allocations: 4.594 kB / 0.8076 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.725, allocations: 5.125 kB / 0.8076 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.725, allocations: 4.891 kB / 0.8076 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.308e-05/0.7251, allocations: 5.625 kB / 0.8076 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.7251, allocations: 1.062 kB / 0.8076 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.11e-05/0.7251, allocations: 13.34 kB / 0.8076 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.7251, allocations: 7.766 kB / 0.8076 GB, free: 10.05 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 7.204e-05/0.7252, allocations: 116.2 kB / 0.8077 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.7252, allocations: 0.9375 kB / 0.8077 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.44e-05/0.7253, allocations: 4.219 kB / 0.8077 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.7253, allocations: 7.359 kB / 0.8077 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.7253, allocations: 0 / 0.8077 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.7253, allocations: 3.938 kB / 0.8077 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002764/0.7256, allocations: 363.1 kB / 0.8081 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.7256, allocations: 0 / 0.8081 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.444e-05/0.7256, allocations: 4.125 kB / 0.8081 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.7256, allocations: 3.938 kB / 0.8081 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.7256, allocations: 1.312 kB / 0.8081 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.7256, allocations: 1.406 kB / 0.8081 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.7256, allocations: 2.531 kB / 0.8081 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.219e-05/0.7257, allocations: 71.06 kB / 0.8082 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.347e-05/0.7258, allocations: 84.52 kB / 0.8082 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.7258, allocations: 5.188 kB / 0.8082 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.401e-05/0.7259, allocations: 4.328 kB / 0.8082 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.435e-05/0.7259, allocations: 5.25 kB / 0.8083 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.574e-06/0.7259, allocations: 1.094 kB / 0.8083 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.315e-05/0.726, allocations: 85.27 kB / 0.8083 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.726, allocations: 0 / 0.8083 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001967/0.7262, allocations: 11.09 kB / 0.8083 GB, free: 9.262 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.0001126/0.7263, allocations: 97.36 kB / 0.8084 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.582e-05/0.7264, allocations: 18.38 kB / 0.8085 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.7264, allocations: 0 / 0.8085 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.138e-05/0.7264, allocations: 5.594 kB / 0.8085 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.7266, allocations: 16.66 kB / 0.8085 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003088/0.7269, allocations: 137.7 kB / 0.8086 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.7272, allocations: 0.676 MB / 0.8093 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.324e-05/0.7273, allocations: 8.594 kB / 0.8093 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.7273, allocations: 3.938 kB / 0.8093 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of Templates: time 0.001862/0.7291, allocations: 0.623 MB / 0.8099 GB, free: 8.285 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)