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.0008786/0.000878, allocations: 97.48 kB / 15.36 MB, free: 0.7344 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.006464/0.006464, allocations: 169 kB / 16.26 MB, free: 6.652 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.432/1.432, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9755/0.9755, allocations: 135.3 MB / 426.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003855/0.0003855, allocations: 11.98 kB / 0.5076 GB, free: 4.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2048, allocations: 82.31 MB / 0.588 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.001452/0.2063, allocations: 1.054 MB / 0.589 GB, free: 1.574 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5227/0.729, allocations: 144.2 MB / 0.7299 GB, free: 2.742 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.382e-05/0.7291, allocations: 2.062 kB / 0.7299 GB, free: 2.742 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.419e-05/0.7291, allocations: 2.016 kB / 0.7299 GB, free: 2.742 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.7292, allocations: 13.52 kB / 0.7299 GB, free: 2.734 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009219/0.7302, allocations: 301 kB / 0.7302 GB, free: 2.59 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.7303, allocations: 79 kB / 0.7302 GB, free: 2.57 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.334e-05/0.7303, allocations: 6.984 kB / 0.7302 GB, free: 2.566 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.869e-05/0.7304, allocations: 35.53 kB / 0.7303 GB, free: 2.551 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.7305, allocations: 31.22 kB / 0.7303 GB, free: 2.539 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.7305, allocations: 3.406 kB / 0.7303 GB, free: 2.539 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009259/0.7315, allocations: 497.6 kB / 0.7308 GB, free: 2.355 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.892e-05/0.7315, allocations: 25.36 kB / 0.7308 GB, free: 2.34 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.404e-05/0.7316, allocations: 48.19 kB / 0.7308 GB, free: 2.301 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003452/0.732, allocations: 191.4 kB / 0.731 GB, free: 2.234 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.732, allocations: 0 / 0.731 GB, free: 2.234 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.044e-06/0.732, allocations: 0 / 0.731 GB, free: 2.234 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.732, allocations: 0 / 0.731 GB, free: 2.234 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004223/0.7324, allocations: 373.2 kB / 0.7314 GB, free: 1.855 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.7325, allocations: 9.75 kB / 0.7314 GB, free: 1.855 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004087/0.7329, allocations: 42.48 kB / 0.7314 GB, free: 1.848 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.733, allocations: 166.5 kB / 0.7316 GB, free: 1.648 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.733, allocations: 7.172 kB / 0.7316 GB, free: 1.645 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.095e-05/0.733, allocations: 11.05 kB / 0.7316 GB, free: 1.641 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.7332, allocations: 84.27 kB / 0.7317 GB, free: 1.59 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.7332, allocations: 1 kB / 0.7317 GB, free: 1.59 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.7333, allocations: 5.031 kB / 0.7317 GB, free: 1.586 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.7333, allocations: 1 kB / 0.7317 GB, free: 1.586 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.964e-05/0.7334, allocations: 42.31 kB / 0.7317 GB, free: 1.582 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002099/0.7336, allocations: 192.1 kB / 0.7319 GB, free: 1.371 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.7338, allocations: 103.1 kB / 0.732 GB, free: 1.316 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.218e-05/0.7339, allocations: 28.52 kB / 0.732 GB, free: 1.305 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002249/0.7341, allocations: 177.8 kB / 0.7322 GB, free: 1.113 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.7341, allocations: 37 kB / 0.7323 GB, free: 1.07 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.363e-06/0.7341, allocations: 0 / 0.7323 GB, free: 1.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.00128/0.7354, allocations: 0.5349 MB / 0.7328 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.7355, allocations: 64.69 kB / 0.7328 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.171e-05/0.7355, allocations: 93.69 kB / 0.7329 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.7356, allocations: 33.23 kB / 0.733 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.652e-05/0.7356, allocations: 80.52 kB / 0.733 GB, free: 452 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.604e-05/0.7357, allocations: 74.02 kB / 0.7331 GB, free: 392 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.565e-05/0.7357, allocations: 22.3 kB / 0.7331 GB, free: 372 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.7358, allocations: 323.5 kB / 0.7334 GB, free: 44 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.063e-05/0.7359, allocations: 42.56 kB / 0.7335 GB, free: 28 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.736, allocations: 71.23 kB / 0.7335 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.7362, allocations: 116 kB / 0.7337 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.7362, allocations: 0 / 0.7337 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002434/0.7364, allocations: 161.7 kB / 0.7338 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.7365, allocations: 5.469 kB / 0.7338 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.7365, allocations: 1.281 kB / 0.7338 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.7365, allocations: 7.266 kB / 0.7338 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.7367, allocations: 42.09 kB / 0.7339 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.7367, allocations: 2.688 kB / 0.7339 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.852e-05/0.7367, allocations: 10.12 kB / 0.7339 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.7368, allocations: 5.094 kB / 0.7339 GB, free: 15.81 MB / 0.5606 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 8.81e-05/0.7369, allocations: 124.6 kB / 0.734 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.805e-05/0.7369, allocations: 4.094 kB / 0.734 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.672e-05/0.7369, allocations: 18 kB / 0.734 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.7369, allocations: 2.844 kB / 0.734 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.737, allocations: 0 / 0.734 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.737, allocations: 9.75 kB / 0.734 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.7371, allocations: 193.3 kB / 0.7342 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.7371, allocations: 0 / 0.7342 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001927/0.7373, allocations: 40.53 kB / 0.7343 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.7374, allocations: 1.641 kB / 0.7343 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.7374, allocations: 5.125 kB / 0.7343 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.7374, allocations: 1.547 kB / 0.7343 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.7374, allocations: 1.406 kB / 0.7343 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003191/0.7377, allocations: 218.2 kB / 0.7345 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.04e-05/0.7378, allocations: 90.08 kB / 0.7346 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.7378, allocations: 5.906 kB / 0.7346 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.738, allocations: 9.484 kB / 0.7346 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.118e-05/0.738, allocations: 9.656 kB / 0.7346 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.738, allocations: 13.56 kB / 0.7346 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.327e-05/0.7381, allocations: 77.83 kB / 0.7347 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7381, allocations: 0 / 0.7347 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002258/0.7383, allocations: 26.52 kB / 0.7347 GB, free: 15.14 MB / 0.5606 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.0001352/0.7384, allocations: 110.2 kB / 0.7348 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002119/0.7386, allocations: 104.6 kB / 0.7349 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.7387, allocations: 5.125 kB / 0.7349 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.869e-05/0.7387, allocations: 52.52 kB / 0.735 GB, free: 15 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.739, allocations: 15.95 kB / 0.735 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008805/0.7399, allocations: 0.6274 MB / 0.7356 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/0.7401, allocations: 0.6996 MB / 0.7363 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001318/0.7403, allocations: 27.94 kB / 0.7363 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.064e-05/0.7403, allocations: 15.5 kB / 0.7363 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.7403, allocations: 0 / 0.7363 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of Templates: time 0.003869/0.7442, allocations: 1.062 MB / 0.7373 GB, free: 13.72 MB / 0.5606 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)