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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7441/0.7441, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.639/1.639, allocations: 221.3 MB / 400.4 MB, free: 5.863 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 100.8 kB / 483.3 MB, free: 5.906 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.541e-05/4.563e-05, allocations: 3.625 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1844, allocations: 82.31 MB / 0.6405 GB, free: 7.766 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.851/5.036, allocations: 1.707 GB / 2.348 GB, free: 228.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002242/5.036, allocations: 71.95 kB / 2.348 GB, free: 228.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06214/5.098, allocations: 29.7 MB / 2.377 GB, free: 198.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.362e-06/5.098, allocations: 3.938 kB / 2.377 GB, free: 198.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.308e-06/5.098, allocations: 4 kB / 2.377 GB, free: 198.8 MB / 0.6823 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.0004392/5.099, allocations: 379.1 kB / 2.377 GB, free: 198.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/5.099, allocations: 8.031 kB / 2.377 GB, free: 198.4 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.22e-05/5.099, allocations: 38.56 kB / 2.377 GB, free: 198.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004169/5.099, allocations: 35.91 kB / 2.377 GB, free: 198.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/5.099, allocations: 175 kB / 2.377 GB, free: 198.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/5.099, allocations: 4 kB / 2.377 GB, free: 198.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.066e-05/5.099, allocations: 15.91 kB / 2.377 GB, free: 198.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/5.1, allocations: 73.59 kB / 2.378 GB, free: 198 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/5.1, allocations: 0 / 2.378 GB, free: 198 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/5.1, allocations: 4 kB / 2.378 GB, free: 198 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/5.1, allocations: 3.953 kB / 2.378 GB, free: 198 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.618e-05/5.1, allocations: 36.64 kB / 2.378 GB, free: 198 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000222/5.1, allocations: 177.6 kB / 2.378 GB, free: 197.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/5.1, allocations: 94.56 kB / 2.378 GB, free: 197.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.007e-05/5.1, allocations: 36.88 kB / 2.378 GB, free: 197.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002233/5.101, allocations: 174.2 kB / 2.378 GB, free: 197.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/5.101, allocations: 38.56 kB / 2.378 GB, free: 197.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/5.101, allocations: 4 kB / 2.378 GB, free: 197.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=19): time 0.001176/5.102, allocations: 0.5111 MB / 2.379 GB, free: 196.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/5.102, allocations: 59.36 kB / 2.379 GB, free: 196.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.304e-05/5.102, allocations: 93 kB / 2.379 GB, free: 196.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/5.102, allocations: 29.7 kB / 2.379 GB, free: 196.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 1.766e-05/5.102, allocations: 80.52 kB / 2.379 GB, free: 196.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.052e-05/5.102, allocations: 74.98 kB / 2.379 GB, free: 196.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-06/5.102, allocations: 0 / 2.379 GB, free: 196.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.846e-05/5.102, allocations: 318.8 kB / 2.379 GB, free: 196.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.469e-05/5.102, allocations: 39.98 kB / 2.379 GB, free: 196.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.768e-05/5.102, allocations: 67.55 kB / 2.379 GB, free: 196 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.723e-05/5.102, allocations: 43.97 kB / 2.379 GB, free: 196 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/5.102, allocations: 3.938 kB / 2.379 GB, free: 196 MB / 0.6823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001952/5.103, allocations: 153.4 kB / 2.38 GB, free: 195.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/5.103, allocations: 9.094 kB / 2.38 GB, free: 195.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/5.103, allocations: 0 / 2.38 GB, free: 195.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/5.103, allocations: 4 kB / 2.38 GB, free: 195.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/5.103, allocations: 31.98 kB / 2.38 GB, free: 195.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/5.103, allocations: 7.938 kB / 2.38 GB, free: 195.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.778e-05/5.103, allocations: 11.95 kB / 2.38 GB, free: 195.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/5.103, allocations: 8 kB / 2.38 GB, free: 195.7 MB / 0.6823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.369e-05/5.103, allocations: 112.9 kB / 2.38 GB, free: 195.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.946e-05/5.103, allocations: 11.91 kB / 2.38 GB, free: 195.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.494e-05/5.103, allocations: 20.2 kB / 2.38 GB, free: 195.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/5.103, allocations: 0 / 2.38 GB, free: 195.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/5.103, allocations: 4 kB / 2.38 GB, free: 195.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/5.103, allocations: 0 / 2.38 GB, free: 195.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/5.103, allocations: 189.6 kB / 2.38 GB, free: 195.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/5.103, allocations: 8 kB / 2.38 GB, free: 195.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/5.103, allocations: 39.92 kB / 2.38 GB, free: 195.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.493e-06/5.103, allocations: 4 kB / 2.38 GB, free: 195.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/5.103, allocations: 4.109 kB / 2.38 GB, free: 195.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.145e-06/5.103, allocations: 4 kB / 2.38 GB, free: 195.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/5.103, allocations: 0 / 2.38 GB, free: 195.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/5.104, allocations: 211.7 kB / 2.38 GB, free: 195.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.615e-05/5.104, allocations: 93 kB / 2.38 GB, free: 195 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/5.104, allocations: 8.062 kB / 2.38 GB, free: 194.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/5.104, allocations: 7.984 kB / 2.38 GB, free: 194.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.325e-05/5.104, allocations: 11.98 kB / 2.38 GB, free: 194.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/5.104, allocations: 7.938 kB / 2.38 GB, free: 194.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.174e-05/5.104, allocations: 79.28 kB / 2.38 GB, free: 194.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.81e-07/5.104, allocations: 0 / 2.38 GB, free: 194.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003333/5.104, allocations: 63.98 kB / 2.38 GB, free: 194.8 MB / 0.6823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001002/5.105, allocations: 1.199 MB / 2.382 GB, free: 193.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000182/5.106, allocations: 103.9 kB / 2.382 GB, free: 193.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/5.106, allocations: 0 / 2.382 GB, free: 193.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.053e-05/5.106, allocations: 55.92 kB / 2.382 GB, free: 193.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001694/5.106, allocations: 15.94 kB / 2.382 GB, free: 193.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007498/5.107, allocations: 0.5062 MB / 2.382 GB, free: 192.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/5.107, allocations: 0.7049 MB / 2.383 GB, free: 192.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001322/5.107, allocations: 28.75 kB / 2.383 GB, free: 192.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.292e-05/5.107, allocations: 23.44 kB / 2.383 GB, free: 192.1 MB / 0.6823 GB Notification: Performance of SimCode: time 6.01e-07/5.107, allocations: 0 / 2.383 GB, free: 192.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02776/5.135, allocations: 12.84 MB / 2.396 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002275/5.135, allocations: 146.5 kB / 2.396 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.04/7.175, allocations: 3.125 kB / 2.396 GB, free: 179.1 MB / 0.6823 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/linux/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)