Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.AirDerivativeCheck") translateModel(IDEAS.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001166/0.001166, allocations: 115.2 kB / 16.42 MB, free: 6.5 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.001163/0.001163, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.291/1.291, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7782/0.7782, allocations: 132.2 MB / 423.4 MB, free: 6.613 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 74.23 kB / 0.582 GB, free: 23.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1266, allocations: 80.21 MB / 0.6603 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002386/0.1291, allocations: 1.323 MB / 0.6616 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4373/0.5664, allocations: 148.1 MB / 0.8062 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.351e-05/0.5665, allocations: 1.438 kB / 0.8062 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 3.643e-05/0.5665, allocations: 9.719 kB / 0.8062 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 9.245e-05/0.5667, allocations: 11.03 kB / 0.8062 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.5677, allocations: 334.2 kB / 0.8066 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.5678, allocations: 74.3 kB / 0.8066 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.262e-05/0.5679, allocations: 4.25 kB / 0.8066 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.676e-05/0.5679, allocations: 32.72 kB / 0.8067 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.854e-05/0.568, allocations: 29.56 kB / 0.8067 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.568, allocations: 2.469 kB / 0.8067 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008027/0.5688, allocations: 409.8 kB / 0.8071 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.963e-05/0.5689, allocations: 20.05 kB / 0.8071 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.433e-05/0.5689, allocations: 30.97 kB / 0.8071 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003363/0.5693, allocations: 157.8 kB / 0.8073 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.5693, allocations: 1.344 kB / 0.8073 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5693, allocations: 4 kB / 0.8073 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.5693, allocations: 0 / 0.8073 GB, free: 12.2 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004322/0.5698, allocations: 390 kB / 0.8077 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.5698, allocations: 12.52 kB / 0.8077 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004231/0.5702, allocations: 34.77 kB / 0.8077 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.88e-05/0.5703, allocations: 161.9 kB / 0.8079 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.5704, allocations: 8.688 kB / 0.8079 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.629e-05/0.5704, allocations: 21.91 kB / 0.8079 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.5706, allocations: 76 kB / 0.808 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.5706, allocations: 3.984 kB / 0.808 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.5706, allocations: 2.375 kB / 0.808 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.5706, allocations: 0.875 kB / 0.808 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.734e-05/0.5707, allocations: 44.53 kB / 0.808 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002003/0.5709, allocations: 192.2 kB / 0.8082 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.5711, allocations: 101.4 kB / 0.8083 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.19e-05/0.5712, allocations: 32.3 kB / 0.8083 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002095/0.5714, allocations: 171.8 kB / 0.8085 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.5714, allocations: 35.09 kB / 0.8085 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.5714, allocations: 0 / 0.8085 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19): time 0.001233/0.5727, allocations: 0.5457 MB / 0.8091 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/0.5727, allocations: 57.34 kB / 0.8091 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.922e-05/0.5728, allocations: 94.02 kB / 0.8092 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.5728, allocations: 34.27 kB / 0.8092 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.556e-05/0.5728, allocations: 81.64 kB / 0.8093 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.191e-05/0.5729, allocations: 71.17 kB / 0.8094 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.306e-05/0.5729, allocations: 38.59 kB / 0.8094 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.086e-05/0.573, allocations: 326 kB / 0.8097 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.167e-05/0.5731, allocations: 35.38 kB / 0.8098 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.715e-05/0.5732, allocations: 70.55 kB / 0.8098 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.5733, allocations: 119.7 kB / 0.8099 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.5734, allocations: 0 / 0.8099 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001992/0.5736, allocations: 156.5 kB / 0.8101 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.5736, allocations: 5.594 kB / 0.8101 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.5736, allocations: 0 / 0.8101 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.5736, allocations: 2.438 kB / 0.8101 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.5738, allocations: 43.69 kB / 0.8101 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.5738, allocations: 1.406 kB / 0.8101 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.909e-05/0.5738, allocations: 8.969 kB / 0.8102 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.5739, allocations: 13.41 kB / 0.8102 GB, free: 10.06 MB / 0.5919 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.767e-05/0.574, allocations: 125.7 kB / 0.8103 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/0.574, allocations: 10.84 kB / 0.8103 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.035e-05/0.574, allocations: 24.84 kB / 0.8103 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.5741, allocations: 2.438 kB / 0.8103 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.5741, allocations: 0 / 0.8103 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.927e-05/0.5741, allocations: 90.56 kB / 0.8104 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.5742, allocations: 9.75 kB / 0.8104 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.5743, allocations: 8.672 kB / 0.8104 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.36e-05/0.5743, allocations: 11.67 kB / 0.8104 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003379/0.5747, allocations: 234.9 kB / 0.8107 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003363/0.575, allocations: 368.9 kB / 0.811 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.653e-05/0.5751, allocations: 46.77 kB / 0.8111 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 2.667e-05/0.5751, allocations: 84.02 kB / 0.8111 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of Backend: time 4.01e-07/0.5751, allocations: 0 / 0.8111 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005786/0.5757, allocations: 225.9 kB / 0.8114 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of SimCode: time 0.0007856/0.5765, allocations: 0.9259 MB / 0.8123 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of Templates: time 0.00489/0.5814, allocations: 2.369 MB / 0.8146 GB, free: 7.754 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe 2>&1)