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.001151/0.001151, allocations: 114 kB / 16.42 MB, free: 6.445 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.001177/0.001177, allocations: 189.4 kB / 17.35 MB, free: 5.703 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.178/1.178, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7124/0.7124, allocations: 135.1 MB / 426.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001081/0.001081, allocations: 65.92 kB / 0.5863 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.118, allocations: 80.92 MB / 0.6653 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.00201/0.12, allocations: 1.333 MB / 0.6666 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3973/0.5174, allocations: 148.1 MB / 0.8112 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.679e-05/0.5175, allocations: 0 / 0.8112 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 3.943e-05/0.5175, allocations: 6.469 kB / 0.8112 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.5177, allocations: 12.8 kB / 0.8112 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.5187, allocations: 339.7 kB / 0.8115 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.5189, allocations: 66.58 kB / 0.8116 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.426e-05/0.5189, allocations: 4.688 kB / 0.8116 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.041e-05/0.5189, allocations: 30.55 kB / 0.8116 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.253e-05/0.519, allocations: 30.97 kB / 0.8117 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.519, allocations: 3.625 kB / 0.8117 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007283/0.5198, allocations: 413.1 kB / 0.8121 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.751e-05/0.5198, allocations: 20.23 kB / 0.8121 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.749e-05/0.5199, allocations: 33.27 kB / 0.8121 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002836/0.5202, allocations: 159.2 kB / 0.8123 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.5202, allocations: 2.25 kB / 0.8123 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.072e-06/0.5202, allocations: 0 / 0.8123 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.087e-06/0.5202, allocations: 0 / 0.8123 GB, free: 11.34 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.0003823/0.5206, allocations: 388 kB / 0.8126 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.5206, allocations: 12.16 kB / 0.8127 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003715/0.521, allocations: 33.91 kB / 0.8127 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.635e-05/0.5211, allocations: 166.6 kB / 0.8129 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.5211, allocations: 10.84 kB / 0.8129 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/0.5212, allocations: 14.17 kB / 0.8129 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.5213, allocations: 80.92 kB / 0.813 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.5213, allocations: 3.938 kB / 0.813 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.5213, allocations: 1.594 kB / 0.813 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.5213, allocations: 1.375 kB / 0.813 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.794e-05/0.5214, allocations: 44.31 kB / 0.813 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000165/0.5216, allocations: 190.9 kB / 0.8132 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.5218, allocations: 91.92 kB / 0.8133 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.592e-05/0.5218, allocations: 35.94 kB / 0.8133 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001979/0.522, allocations: 179.2 kB / 0.8135 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.5221, allocations: 35.94 kB / 0.8135 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.5221, allocations: 0.75 kB / 0.8135 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19): time 0.00113/0.5232, allocations: 0.5391 MB / 0.814 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.442e-05/0.5232, allocations: 53.16 kB / 0.8141 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.055e-05/0.5233, allocations: 102.8 kB / 0.8142 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.5233, allocations: 31.23 kB / 0.8142 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.884e-05/0.5234, allocations: 80.52 kB / 0.8143 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.243e-05/0.5234, allocations: 69.52 kB / 0.8144 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.048e-05/0.5235, allocations: 36.58 kB / 0.8144 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.174e-05/0.5236, allocations: 327.5 kB / 0.8147 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.533e-05/0.5236, allocations: 37.91 kB / 0.8147 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.902e-05/0.5237, allocations: 71.11 kB / 0.8148 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.5239, allocations: 118.8 kB / 0.8149 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.5239, allocations: 0 / 0.8149 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001884/0.5241, allocations: 155.7 kB / 0.8151 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.5241, allocations: 5.5 kB / 0.8151 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.5241, allocations: 1.375 kB / 0.8151 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.5241, allocations: 1.375 kB / 0.8151 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.5243, allocations: 44.06 kB / 0.8151 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.5243, allocations: 4.703 kB / 0.8151 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.262e-05/0.5243, allocations: 4.562 kB / 0.8151 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.5243, allocations: 9.438 kB / 0.8151 GB, free: 9.199 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 7.729e-05/0.5244, allocations: 124.7 kB / 0.8153 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/0.5245, allocations: 15.38 kB / 0.8153 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.915e-05/0.5245, allocations: 22.44 kB / 0.8153 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.5245, allocations: 1.375 kB / 0.8153 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.5245, allocations: 4.875 kB / 0.8153 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.414e-05/0.5246, allocations: 90.83 kB / 0.8154 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.5246, allocations: 11.34 kB / 0.8154 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.5247, allocations: 7.5 kB / 0.8154 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.149e-05/0.5248, allocations: 9.859 kB / 0.8154 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003102/0.5251, allocations: 229.8 kB / 0.8156 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00031/0.5254, allocations: 380.5 kB / 0.816 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.183e-05/0.5255, allocations: 51.2 kB / 0.816 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.24e-05/0.5255, allocations: 80.41 kB / 0.8161 GB, free: 8.543 MB / 0.5919 GB Notification: Performance of Backend: time 2.61e-07/0.5255, allocations: 0 / 0.8161 GB, free: 8.543 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005062/0.526, allocations: 224.4 kB / 0.8163 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of SimCode: time 0.000738/0.5268, allocations: 0.9202 MB / 0.8172 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of Templates: time 0.004443/0.5312, allocations: 2.374 MB / 0.8196 GB, free: 6.48 MB / 0.5919 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)