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.001496/0.001496, allocations: 172.2 kB / 7.647 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.7892/0.7892, allocations: 133.5 MB / 141.6 MB, free: 2.871 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.605/1.605, 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.0008317/0.0008316, allocations: 97.19 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.233e-05/2.241e-05, allocations: 0 / 0.5535 GB, free: 8.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5351/0.5351, allocations: 82.31 MB / 0.6339 GB, free: 40.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.56/5.096, allocations: 1.707 GB / 2.341 GB, free: 66.49 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/5.096, allocations: 71.97 kB / 2.341 GB, free: 66.42 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05462/5.151, allocations: 29.15 MB / 2.369 GB, free: 37.01 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.352e-06/5.151, allocations: 0 / 2.369 GB, free: 37.01 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.432e-06/5.151, allocations: 0 / 2.369 GB, free: 37.01 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.0003457/5.151, allocations: 382.2 kB / 2.369 GB, free: 36.59 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/5.151, allocations: 8.031 kB / 2.369 GB, free: 36.58 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003478/5.151, allocations: 47.91 kB / 2.37 GB, free: 36.54 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.85e-05/5.151, allocations: 167 kB / 2.37 GB, free: 36.33 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/5.151, allocations: 0 / 2.37 GB, free: 36.33 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.908e-05/5.152, allocations: 11.91 kB / 2.37 GB, free: 36.32 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001084/5.152, allocations: 39.97 kB / 2.37 GB, free: 36.28 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/5.152, allocations: 65.55 kB / 2.37 GB, free: 36.21 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/5.152, allocations: 4 kB / 2.37 GB, free: 36.21 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/5.152, allocations: 3.984 kB / 2.37 GB, free: 36.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/5.152, allocations: 3.953 kB / 2.37 GB, free: 36.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001504/5.152, allocations: 150.2 kB / 2.37 GB, free: 36.02 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/5.152, allocations: 78.7 kB / 2.37 GB, free: 35.93 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.586e-05/5.152, allocations: 20.86 kB / 2.37 GB, free: 35.91 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000191/5.152, allocations: 178.2 kB / 2.37 GB, free: 35.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/5.152, allocations: 42.55 kB / 2.37 GB, free: 35.64 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=12): time 1.883e-06/5.152, allocations: 0 / 2.37 GB, free: 35.64 MB / 0.6823 GB Notification: Performance of matching and sorting (n=19): time 0.001069/5.153, allocations: 488 kB / 2.371 GB, free: 35.12 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.374e-05/5.154, allocations: 55.41 kB / 2.371 GB, free: 35.05 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.433e-05/5.154, allocations: 96.98 kB / 2.371 GB, free: 34.95 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/5.154, allocations: 25.7 kB / 2.371 GB, free: 34.92 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.965e-05/5.154, allocations: 88.45 kB / 2.371 GB, free: 34.82 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.896e-05/5.154, allocations: 59.02 kB / 2.371 GB, free: 34.77 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.134e-06/5.154, allocations: 4 kB / 2.371 GB, free: 34.76 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.105e-05/5.154, allocations: 322.8 kB / 2.371 GB, free: 34.44 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.596e-05/5.154, allocations: 28 kB / 2.371 GB, free: 34.41 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.354e-05/5.154, allocations: 65.17 kB / 2.371 GB, free: 34.34 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.98e-05/5.154, allocations: 43.91 kB / 2.371 GB, free: 34.29 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/5.154, allocations: 0 / 2.371 GB, free: 34.29 MB / 0.6823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000162/5.154, allocations: 129.5 kB / 2.372 GB, free: 34.16 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/5.154, allocations: 8 kB / 2.372 GB, free: 34.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/5.154, allocations: 0 / 2.372 GB, free: 34.15 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/5.154, allocations: 7.984 kB / 2.372 GB, free: 34.14 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/5.154, allocations: 35.98 kB / 2.372 GB, free: 34.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/5.154, allocations: 4 kB / 2.372 GB, free: 34.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.114e-05/5.154, allocations: 7.938 kB / 2.372 GB, free: 34.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/5.154, allocations: 4 kB / 2.372 GB, free: 34.09 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 5.769e-05/5.155, allocations: 112.9 kB / 2.372 GB, free: 33.98 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001262/5.155, allocations: 119.4 kB / 2.372 GB, free: 33.86 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/5.155, allocations: 7.906 kB / 2.372 GB, free: 33.85 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.718e-05/5.155, allocations: 16.53 kB / 2.372 GB, free: 33.83 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/5.155, allocations: 4 kB / 2.372 GB, free: 33.83 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/5.155, allocations: 3.984 kB / 2.372 GB, free: 33.82 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/5.155, allocations: 0 / 2.372 GB, free: 33.82 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.959e-05/5.155, allocations: 170.2 kB / 2.372 GB, free: 33.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/5.155, allocations: 0 / 2.372 GB, free: 33.62 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/5.155, allocations: 35.98 kB / 2.372 GB, free: 33.59 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/5.155, allocations: 3.984 kB / 2.372 GB, free: 33.58 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/5.155, allocations: 0 / 2.372 GB, free: 33.58 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/5.155, allocations: 0 / 2.372 GB, free: 33.58 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/5.155, allocations: 0 / 2.372 GB, free: 33.58 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/5.155, allocations: 188.8 kB / 2.372 GB, free: 33.38 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.072e-05/5.155, allocations: 97.06 kB / 2.372 GB, free: 33.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/5.155, allocations: 7.984 kB / 2.372 GB, free: 33.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/5.156, allocations: 0 / 2.372 GB, free: 33.26 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.607e-05/5.156, allocations: 11.98 kB / 2.372 GB, free: 33.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/5.156, allocations: 8 kB / 2.372 GB, free: 33.24 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 1.866e-05/5.156, allocations: 75.28 kB / 2.372 GB, free: 33.16 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/5.156, allocations: 0 / 2.372 GB, free: 33.16 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002811/5.156, allocations: 51.98 kB / 2.373 GB, free: 33.11 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.0009252/5.157, allocations: 1.274 MB / 2.374 GB, free: 31.82 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001506/5.157, allocations: 87.92 kB / 2.374 GB, free: 31.73 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/5.157, allocations: 0 / 2.374 GB, free: 31.73 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.995e-05/5.157, allocations: 48.95 kB / 2.374 GB, free: 31.68 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/5.157, allocations: 9.219 kB / 2.374 GB, free: 31.68 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007852/5.158, allocations: 0.5065 MB / 2.374 GB, free: 31.12 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001342/5.158, allocations: 0.7008 MB / 2.375 GB, free: 30.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001239/5.158, allocations: 28.75 kB / 2.375 GB, free: 30.37 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.715e-05/5.158, allocations: 23.44 kB / 2.375 GB, free: 30.35 MB / 0.6823 GB Notification: Performance of SimCode: time 2.41e-07/5.158, allocations: 0 / 2.375 GB, free: 30.35 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02735/5.186, allocations: 6.177 MB / 2.381 GB, free: 24.18 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001635/5.186, allocations: 120.9 kB / 2.381 GB, free: 23.98 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.765/6.951, allocations: 0 / 2.381 GB, free: 23.98 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)