Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.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.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck") translateModel(IDEAS.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007391/0.007396, allocations: 102.2 kB / 15.73 MB, free: 6.035 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.001597/0.001597, allocations: 198.9 kB / 16.67 MB, free: 5.969 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.48/1.48, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.116/1.116, allocations: 135.1 MB / 425.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 59.91 kB / 0.5856 GB, free: 3.406 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5476/0.549, allocations: 80.91 MB / 0.6646 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002207/0.5512, allocations: 1.325 MB / 0.6659 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1752/0.7264, allocations: 148.1 MB / 0.8105 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.468e-05/0.7265, allocations: 4 kB / 0.8105 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 4.364e-05/0.7266, allocations: 0 / 0.8105 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0001116/0.7267, allocations: 19.84 kB / 0.8106 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.000958/0.7277, allocations: 338.6 kB / 0.8109 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.7278, allocations: 63.77 kB / 0.811 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.125e-05/0.7279, allocations: 4 kB / 0.811 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 4.637e-05/0.7279, allocations: 31.91 kB / 0.811 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.728, allocations: 35.89 kB / 0.811 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.7281, allocations: 3.938 kB / 0.811 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007708/0.7288, allocations: 410.8 kB / 0.8114 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 5.648e-05/0.7289, allocations: 11.98 kB / 0.8114 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 4.57e-05/0.729, allocations: 31.84 kB / 0.8115 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003073/0.7293, allocations: 157.4 kB / 0.8116 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.7293, allocations: 4 kB / 0.8116 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7293, allocations: 0 / 0.8116 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.7293, allocations: 0 / 0.8116 GB, free: 10.62 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004841/0.7298, allocations: 395.3 kB / 0.812 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.7298, allocations: 8.031 kB / 0.812 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004049/0.7303, allocations: 40.81 kB / 0.812 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.7304, allocations: 164.4 kB / 0.8122 GB, free: 9.938 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.7304, allocations: 15.94 kB / 0.8122 GB, free: 9.922 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.328e-05/0.7304, allocations: 8 kB / 0.8122 GB, free: 9.914 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.7306, allocations: 77.59 kB / 0.8123 GB, free: 9.832 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.7306, allocations: 0 / 0.8123 GB, free: 9.832 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.7306, allocations: 4 kB / 0.8123 GB, free: 9.828 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.7307, allocations: 0 / 0.8123 GB, free: 9.828 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.373e-05/0.7308, allocations: 51.89 kB / 0.8123 GB, free: 9.777 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001942/0.731, allocations: 189.4 kB / 0.8125 GB, free: 9.543 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.7311, allocations: 98.78 kB / 0.8126 GB, free: 9.438 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.7313, allocations: 37 kB / 0.8127 GB, free: 9.398 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002316/0.7315, allocations: 170.2 kB / 0.8128 GB, free: 9.195 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.776e-05/0.7316, allocations: 42.5 kB / 0.8129 GB, free: 9.145 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=12): time 1.452e-06/0.7316, allocations: 0 / 0.8129 GB, free: 9.145 MB / 0.6387 GB Notification: Performance of matching and sorting (n=19): time 0.001338/0.7329, allocations: 0.5408 MB / 0.8134 GB, free: 8.551 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.733, allocations: 51.41 kB / 0.8134 GB, free: 8.488 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.627e-05/0.7331, allocations: 105.8 kB / 0.8135 GB, free: 8.375 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.7331, allocations: 29.7 kB / 0.8136 GB, free: 8.34 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 2.846e-05/0.7331, allocations: 80.52 kB / 0.8136 GB, free: 8.258 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 6.249e-05/0.7332, allocations: 74.92 kB / 0.8137 GB, free: 8.184 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.573e-05/0.7333, allocations: 41.72 kB / 0.8137 GB, free: 8.137 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.7334, allocations: 318.8 kB / 0.8141 GB, free: 7.816 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.282e-05/0.7335, allocations: 39.97 kB / 0.8141 GB, free: 7.777 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.11e-05/0.7335, allocations: 72.08 kB / 0.8142 GB, free: 7.695 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.7337, allocations: 111.4 kB / 0.8143 GB, free: 7.574 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.7337, allocations: 3.938 kB / 0.8143 GB, free: 7.57 MB / 0.6387 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002167/0.7339, allocations: 157.5 kB / 0.8144 GB, free: 7.41 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.734, allocations: 8 kB / 0.8144 GB, free: 7.402 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.734, allocations: 0 / 0.8144 GB, free: 7.402 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.734, allocations: 0 / 0.8144 GB, free: 7.402 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.7342, allocations: 39.92 kB / 0.8145 GB, free: 7.363 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.968e-06/0.7342, allocations: 4.125 kB / 0.8145 GB, free: 7.359 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.731e-05/0.7342, allocations: 15.94 kB / 0.8145 GB, free: 7.344 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.7342, allocations: 4 kB / 0.8145 GB, free: 7.34 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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.0001014/0.7344, allocations: 125.8 kB / 0.8146 GB, free: 7.207 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.096e-05/0.7344, allocations: 15.83 kB / 0.8146 GB, free: 7.191 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.551e-05/0.7344, allocations: 16.44 kB / 0.8146 GB, free: 7.172 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.7345, allocations: 4 kB / 0.8146 GB, free: 7.168 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.7345, allocations: 0 / 0.8146 GB, free: 7.168 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.7345, allocations: 3.938 kB / 0.8146 GB, free: 7.164 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/0.7346, allocations: 193.6 kB / 0.8148 GB, free: 6.926 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.7347, allocations: 4 kB / 0.8148 GB, free: 6.922 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001862/0.7348, allocations: 31.98 kB / 0.8149 GB, free: 6.891 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.7349, allocations: 4 kB / 0.8149 GB, free: 6.887 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.7349, allocations: 4 kB / 0.8149 GB, free: 6.883 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.7349, allocations: 3.938 kB / 0.8149 GB, free: 6.879 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.7349, allocations: 3.984 kB / 0.8149 GB, free: 6.875 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002995/0.7352, allocations: 214.6 kB / 0.8151 GB, free: 6.652 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/0.7354, allocations: 93.06 kB / 0.8152 GB, free: 6.543 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.7354, allocations: 4 kB / 0.8152 GB, free: 6.539 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.7355, allocations: 11.98 kB / 0.8152 GB, free: 6.527 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.051e-05/0.7355, allocations: 15.92 kB / 0.8152 GB, free: 6.512 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.7356, allocations: 8 kB / 0.8152 GB, free: 6.504 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.185e-05/0.7356, allocations: 75.28 kB / 0.8153 GB, free: 6.43 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7356, allocations: 0 / 0.8153 GB, free: 6.43 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002102/0.7358, allocations: 32 kB / 0.8153 GB, free: 6.398 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * 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.0001383/0.736, allocations: 104.6 kB / 0.8154 GB, free: 6.285 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001995/0.7362, allocations: 107.8 kB / 0.8155 GB, free: 6.18 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7362, allocations: 0 / 0.8155 GB, free: 6.18 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 7.187e-05/0.7363, allocations: 55.91 kB / 0.8156 GB, free: 6.125 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.7365, allocations: 17.81 kB / 0.8156 GB, free: 6.109 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007962/0.7373, allocations: 0.5092 MB / 0.8161 GB, free: 5.574 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.7376, allocations: 0.7008 MB / 0.8168 GB, free: 4.848 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 9.614e-05/0.7377, allocations: 24.62 kB / 0.8168 GB, free: 4.824 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.926e-05/0.7378, allocations: 15.44 kB / 0.8168 GB, free: 4.809 MB / 0.6387 GB Notification: Performance of SimCode: time 2.1e-07/0.7378, allocations: 0 / 0.8168 GB, free: 4.809 MB / 0.6387 GB Notification: Performance of Templates: time 0.004009/0.7418, allocations: 1.132 MB / 0.8179 GB, free: 3.68 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe 2>&1)