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: "" <> buildModelFMU(IDEAS.Media.Examples.AirDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.AirDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00708/0.00708, allocations: 100.5 kB / 15.73 MB, free: 6.469 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.001813/0.001813, allocations: 196.7 kB / 16.67 MB, free: 6.379 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9681/0.9681, allocations: 135.1 MB / 425.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 63.91 kB / 0.5851 GB, free: 3.898 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4101/0.4115, allocations: 80.91 MB / 0.6641 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002261/0.4138, allocations: 1.335 MB / 0.6654 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1592/0.573, allocations: 148.1 MB / 0.8101 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.619e-05/0.5731, allocations: 0 / 0.8101 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 5.843e-05/0.5732, allocations: 3.938 kB / 0.8101 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0001263/0.5734, allocations: 19.91 kB / 0.8101 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001146/0.5745, allocations: 326.6 kB / 0.8104 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.5747, allocations: 63.77 kB / 0.8105 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.154e-05/0.5747, allocations: 7.984 kB / 0.8105 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 5.22e-05/0.5748, allocations: 31.91 kB / 0.8105 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 9.825e-05/0.5749, allocations: 35.84 kB / 0.8105 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.5749, allocations: 4 kB / 0.8105 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008542/0.5758, allocations: 406.9 kB / 0.8109 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 6.293e-05/0.5758, allocations: 15.98 kB / 0.8109 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 6.513e-05/0.5759, allocations: 27.86 kB / 0.811 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003763/0.5763, allocations: 161.9 kB / 0.8111 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.5763, allocations: 0 / 0.8111 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5763, allocations: 0 / 0.8111 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.5763, allocations: 0 / 0.8111 GB, free: 10.55 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.0005157/0.5769, allocations: 391.4 kB / 0.8115 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.5769, allocations: 12.03 kB / 0.8115 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.367e-05/0.577, allocations: 38.73 kB / 0.8115 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004152/0.5774, allocations: 36.81 kB / 0.8116 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.5775, allocations: 164.1 kB / 0.8117 GB, free: 9.832 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.5775, allocations: 8 kB / 0.8117 GB, free: 9.824 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.822e-05/0.5776, allocations: 19.83 kB / 0.8118 GB, free: 9.805 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.5778, allocations: 73.66 kB / 0.8118 GB, free: 9.727 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.649e-06/0.5778, allocations: 4 kB / 0.8118 GB, free: 9.723 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.5778, allocations: 4 kB / 0.8118 GB, free: 9.719 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.5778, allocations: 0 / 0.8118 GB, free: 9.719 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.5779, allocations: 43.95 kB / 0.8119 GB, free: 9.676 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000214/0.5782, allocations: 193.5 kB / 0.8121 GB, free: 9.438 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.5783, allocations: 98.47 kB / 0.8121 GB, free: 9.332 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.24e-05/0.5784, allocations: 32.94 kB / 0.8122 GB, free: 9.297 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002534/0.5787, allocations: 178.2 kB / 0.8124 GB, free: 9.086 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.5787, allocations: 34.56 kB / 0.8124 GB, free: 9.043 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=12): time 1.203e-06/0.5787, allocations: 0 / 0.8124 GB, free: 9.043 MB / 0.6387 GB Notification: Performance of matching and sorting (n=19): time 0.001386/0.5801, allocations: 0.5446 MB / 0.8129 GB, free: 8.449 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.5802, allocations: 55.41 kB / 0.813 GB, free: 8.383 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.404e-05/0.5802, allocations: 105.8 kB / 0.8131 GB, free: 8.27 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.5803, allocations: 33.64 kB / 0.8131 GB, free: 8.23 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 2.951e-05/0.5803, allocations: 80.52 kB / 0.8132 GB, free: 8.148 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 6.039e-05/0.5804, allocations: 71.12 kB / 0.8132 GB, free: 8.078 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.546e-05/0.5804, allocations: 41.7 kB / 0.8133 GB, free: 8.031 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.5806, allocations: 318.8 kB / 0.8136 GB, free: 7.711 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.648e-05/0.5806, allocations: 35.98 kB / 0.8136 GB, free: 7.676 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.298e-05/0.5807, allocations: 67.41 kB / 0.8137 GB, free: 7.598 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.5809, allocations: 119.3 kB / 0.8138 GB, free: 7.469 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5809, allocations: 4 kB / 0.8138 GB, free: 7.465 MB / 0.6387 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000245/0.5812, allocations: 161.5 kB / 0.814 GB, free: 7.301 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.5812, allocations: 4 kB / 0.814 GB, free: 7.297 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.5812, allocations: 4 kB / 0.814 GB, free: 7.293 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.5812, allocations: 0 / 0.814 GB, free: 7.293 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.5814, allocations: 39.92 kB / 0.814 GB, free: 7.254 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.5814, allocations: 7.938 kB / 0.814 GB, free: 7.246 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.456e-05/0.5815, allocations: 4 kB / 0.814 GB, free: 7.242 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.5815, allocations: 4 kB / 0.814 GB, free: 7.238 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.0001048/0.5816, allocations: 133.7 kB / 0.8141 GB, free: 7.098 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.089e-05/0.5816, allocations: 11.84 kB / 0.8142 GB, free: 7.086 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.557e-05/0.5817, allocations: 16.44 kB / 0.8142 GB, free: 7.066 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.5817, allocations: 0 / 0.8142 GB, free: 7.066 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.5817, allocations: 11.92 kB / 0.8142 GB, free: 7.055 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.5817, allocations: 0 / 0.8142 GB, free: 7.055 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.5819, allocations: 189.6 kB / 0.8144 GB, free: 6.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.5819, allocations: 4 kB / 0.8144 GB, free: 6.816 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001922/0.5821, allocations: 35.92 kB / 0.8144 GB, free: 6.781 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.5821, allocations: 4 kB / 0.8144 GB, free: 6.777 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.5821, allocations: 8 kB / 0.8144 GB, free: 6.77 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.5821, allocations: 0 / 0.8144 GB, free: 6.77 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.5821, allocations: 3.938 kB / 0.8144 GB, free: 6.766 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003152/0.5825, allocations: 203.7 kB / 0.8146 GB, free: 6.551 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 8.32e-05/0.5826, allocations: 97.06 kB / 0.8147 GB, free: 6.438 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.5826, allocations: 0 / 0.8147 GB, free: 6.438 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.5827, allocations: 8 kB / 0.8147 GB, free: 6.43 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.426e-05/0.5828, allocations: 15.92 kB / 0.8147 GB, free: 6.414 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.5828, allocations: 15.98 kB / 0.8147 GB, free: 6.398 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.489e-05/0.5828, allocations: 75.28 kB / 0.8148 GB, free: 6.324 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.31e-07/0.5828, allocations: 0 / 0.8148 GB, free: 6.324 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00022/0.583, allocations: 28 kB / 0.8148 GB, free: 6.297 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.0005792/0.5836, allocations: 0.7505 MB / 0.8156 GB, free: 5.516 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002076/0.5838, allocations: 113.7 kB / 0.8157 GB, free: 5.406 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5839, allocations: 0 / 0.8157 GB, free: 5.406 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 6.623e-05/0.5839, allocations: 51.92 kB / 0.8157 GB, free: 5.355 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.5842, allocations: 19.92 kB / 0.8158 GB, free: 5.336 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001917/0.5861, allocations: 1.817 MB / 0.8175 GB, free: 3.422 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.5864, allocations: 0.6969 MB / 0.8182 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001007/0.5865, allocations: 24.62 kB / 0.8182 GB, free: 2.676 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.161e-05/0.5866, allocations: 27.42 kB / 0.8183 GB, free: 2.648 MB / 0.6387 GB Notification: Performance of SimCode: time 1.208e-05/0.5866, allocations: 0 / 0.8183 GB, free: 2.648 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02095/0.6076, allocations: 2.46 MB / 0.8207 GB, free: 268 kB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.275/7.883, allocations: 11.03 kB / 0.8207 GB, free: 264 kB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Media_Examples_AirDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe 2>&1)