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/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_IDEAS_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.AirDerivativeCheck,fileNamePrefix="IDEAS_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.001112/0.001112, allocations: 176.2 kB / 7.649 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8044/0.8044, allocations: 133.6 MB / 141.6 MB, free: 2.887 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.586/1.586, allocations: 221.5 MB / 395.4 MB, free: 10.78 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 104.9 kB / 478.2 MB, free: 1.336 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.563e-05/2.556e-05, allocations: 4 kB / 0.5535 GB, free: 8.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5472/0.5473, allocations: 82.3 MB / 0.6339 GB, free: 40.72 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.615/5.163, allocations: 1.707 GB / 2.341 GB, free: 31.35 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002972/5.163, allocations: 68.28 kB / 2.341 GB, free: 31.32 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05705/5.22, allocations: 29.16 MB / 2.369 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.975e-06/5.22, allocations: 0 / 2.369 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.018e-05/5.22, allocations: 4 kB / 2.369 GB, free: 6.215 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.0004109/5.221, allocations: 382.2 kB / 2.369 GB, free: 5.797 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/5.221, allocations: 12.03 kB / 2.369 GB, free: 5.785 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003832/5.221, allocations: 31.92 kB / 2.369 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/5.221, allocations: 167 kB / 2.37 GB, free: 5.551 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/5.221, allocations: 8 kB / 2.37 GB, free: 5.543 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.15e-05/5.221, allocations: 19.84 kB / 2.37 GB, free: 5.523 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001263/5.221, allocations: 35.97 kB / 2.37 GB, free: 5.488 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/5.222, allocations: 65.61 kB / 2.37 GB, free: 5.418 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/5.222, allocations: 0 / 2.37 GB, free: 5.418 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/5.222, allocations: 0 / 2.37 GB, free: 5.418 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/5.222, allocations: 3.953 kB / 2.37 GB, free: 5.414 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000181/5.222, allocations: 150.2 kB / 2.37 GB, free: 5.23 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/5.222, allocations: 86.62 kB / 2.37 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.274e-05/5.222, allocations: 32.84 kB / 2.37 GB, free: 5.102 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002104/5.222, allocations: 170.2 kB / 2.37 GB, free: 4.898 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/5.222, allocations: 42.55 kB / 2.37 GB, free: 4.848 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=12): time 1.443e-06/5.222, allocations: 0 / 2.37 GB, free: 4.848 MB / 0.6823 GB Notification: Performance of matching and sorting (n=19): time 0.00118/5.223, allocations: 480.6 kB / 2.371 GB, free: 4.328 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/5.224, allocations: 59.41 kB / 2.371 GB, free: 4.258 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.371e-05/5.224, allocations: 92.98 kB / 2.371 GB, free: 4.16 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/5.224, allocations: 25.7 kB / 2.371 GB, free: 4.129 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.438e-05/5.224, allocations: 84.64 kB / 2.371 GB, free: 4.039 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.207e-05/5.224, allocations: 63.02 kB / 2.371 GB, free: 3.977 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-06/5.224, allocations: 0 / 2.371 GB, free: 3.977 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.609e-05/5.224, allocations: 322.8 kB / 2.371 GB, free: 3.652 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.938e-05/5.224, allocations: 32 kB / 2.371 GB, free: 3.621 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.074e-05/5.224, allocations: 64.98 kB / 2.371 GB, free: 3.547 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.378e-05/5.224, allocations: 47.95 kB / 2.371 GB, free: 3.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/5.224, allocations: 0 / 2.371 GB, free: 3.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001765/5.224, allocations: 129.5 kB / 2.372 GB, free: 3.367 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/5.224, allocations: 5.875 kB / 2.372 GB, free: 3.363 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/5.224, allocations: 3.984 kB / 2.372 GB, free: 3.359 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/5.224, allocations: 4 kB / 2.372 GB, free: 3.355 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/5.224, allocations: 39.92 kB / 2.372 GB, free: 3.316 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/5.224, allocations: 0 / 2.372 GB, free: 3.316 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.346e-05/5.224, allocations: 3.938 kB / 2.372 GB, free: 3.312 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/5.224, allocations: 12 kB / 2.372 GB, free: 3.301 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 7.857e-05/5.225, allocations: 116.8 kB / 2.372 GB, free: 3.18 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001404/5.225, allocations: 107.2 kB / 2.372 GB, free: 3.07 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.516e-05/5.225, allocations: 11.84 kB / 2.372 GB, free: 3.059 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.334e-05/5.225, allocations: 24.52 kB / 2.372 GB, free: 3.035 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/5.225, allocations: 0 / 2.372 GB, free: 3.035 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/5.225, allocations: 0 / 2.372 GB, free: 3.035 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/5.225, allocations: 128 / 2.372 GB, free: 3.035 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001195/5.225, allocations: 166.2 kB / 2.372 GB, free: 2.836 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/5.225, allocations: 0 / 2.372 GB, free: 2.836 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001847/5.225, allocations: 43.91 kB / 2.372 GB, free: 2.793 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/5.225, allocations: 4 kB / 2.372 GB, free: 2.789 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/5.225, allocations: 0 / 2.372 GB, free: 2.789 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/5.225, allocations: 4 kB / 2.372 GB, free: 2.785 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/5.225, allocations: 0 / 2.372 GB, free: 2.785 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/5.225, allocations: 186.8 kB / 2.372 GB, free: 2.586 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.012e-05/5.225, allocations: 93 kB / 2.372 GB, free: 2.477 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/5.226, allocations: 3.984 kB / 2.372 GB, free: 2.473 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/5.226, allocations: 8 kB / 2.372 GB, free: 2.465 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.236e-05/5.226, allocations: 12.05 kB / 2.372 GB, free: 2.453 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/5.226, allocations: 4 kB / 2.372 GB, free: 2.449 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.191e-05/5.226, allocations: 79.28 kB / 2.372 GB, free: 2.371 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/5.226, allocations: 0 / 2.372 GB, free: 2.371 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000322/5.226, allocations: 47.98 kB / 2.373 GB, free: 2.324 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.001076/5.227, allocations: 1.274 MB / 2.374 GB, free: 1.027 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000166/5.227, allocations: 83.94 kB / 2.374 GB, free: 0.9453 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/5.227, allocations: 4 kB / 2.374 GB, free: 0.9414 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.936e-05/5.227, allocations: 49.98 kB / 2.374 GB, free: 0.8945 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001728/5.228, allocations: 7.953 kB / 2.374 GB, free: 0.8867 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000796/5.228, allocations: 0.5026 MB / 2.374 GB, free: 348 kB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.446/5.674, allocations: 0.6985 MB / 2.375 GB, free: 251.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002499/5.675, allocations: 28.05 kB / 2.375 GB, free: 251.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.389e-05/5.675, allocations: 23.58 kB / 2.375 GB, free: 251.8 MB / 0.6823 GB Notification: Performance of SimCode: time 2.194e-06/5.675, allocations: 0 / 2.375 GB, free: 251.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03189/5.707, allocations: 6.17 MB / 2.381 GB, free: 251.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00016/5.707, allocations: 116.1 kB / 2.381 GB, free: 251.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.837/7.544, allocations: 0 / 2.381 GB, free: 251.3 MB / 0.6823 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Media_Examples_AirDerivativeCheck.fmu > IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe 2>&1)