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.01279/0.01279, allocations: 170.5 kB / 15.11 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8468/0.8468, allocations: 135.2 MB / 151 MB, free: 13.81 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.666/1.666, allocations: 223.2 MB / 406.8 MB, free: 3.246 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.00113/0.00113, allocations: 95.22 kB / 489.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003684/0.0003684, allocations: 8 kB / 0.5691 GB, free: 14.13 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5043/0.5047, allocations: 82.3 MB / 0.6495 GB, free: 36.18 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.644/6.149, allocations: 1.707 GB / 2.357 GB, free: 189.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/6.149, allocations: 77.8 kB / 2.357 GB, free: 189.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05546/6.205, allocations: 29.74 MB / 2.386 GB, free: 184.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.054e-06/6.205, allocations: 0 / 2.386 GB, free: 184.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.065e-06/6.205, allocations: 3.906 kB / 2.386 GB, free: 184.7 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.0003998/6.205, allocations: 384.8 kB / 2.386 GB, free: 184.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/6.205, allocations: 11.75 kB / 2.386 GB, free: 184.3 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.694e-05/6.205, allocations: 42.25 kB / 2.386 GB, free: 184.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003556/6.206, allocations: 38.31 kB / 2.386 GB, free: 184.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.71e-05/6.206, allocations: 167 kB / 2.387 GB, free: 184.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/6.206, allocations: 3.906 kB / 2.387 GB, free: 184.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/6.206, allocations: 10.94 kB / 2.387 GB, free: 184.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/6.206, allocations: 81.28 kB / 2.387 GB, free: 184 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/6.206, allocations: 3.984 kB / 2.387 GB, free: 184 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/6.206, allocations: 0 / 2.387 GB, free: 184 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/6.206, allocations: 7.859 kB / 2.387 GB, free: 184 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.003e-05/6.206, allocations: 50.36 kB / 2.387 GB, free: 184 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000177/6.206, allocations: 175.3 kB / 2.387 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/6.207, allocations: 86.69 kB / 2.387 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002001/6.207, allocations: 173.6 kB / 2.387 GB, free: 183.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/6.207, allocations: 41.94 kB / 2.387 GB, free: 183.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/6.207, allocations: 3.844 kB / 2.387 GB, free: 183.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=19): time 0.001133/6.208, allocations: 0.5305 MB / 2.388 GB, free: 183.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/6.208, allocations: 63.05 kB / 2.388 GB, free: 183.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.292e-05/6.208, allocations: 100 kB / 2.388 GB, free: 183.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/6.208, allocations: 25.7 kB / 2.388 GB, free: 183.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 1.962e-05/6.208, allocations: 87.56 kB / 2.388 GB, free: 183 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.474e-05/6.208, allocations: 65.2 kB / 2.388 GB, free: 183 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-06/6.208, allocations: 0 / 2.388 GB, free: 183 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.509e-05/6.208, allocations: 322.2 kB / 2.388 GB, free: 182.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.267e-05/6.208, allocations: 37.81 kB / 2.388 GB, free: 182.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.423e-05/6.208, allocations: 76.59 kB / 2.388 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.708e-05/6.208, allocations: 37.44 kB / 2.389 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/6.208, allocations: 0 / 2.389 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001801/6.209, allocations: 153.9 kB / 2.389 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/6.209, allocations: 11.78 kB / 2.389 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/6.209, allocations: 3.234 kB / 2.389 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/6.209, allocations: 0 / 2.389 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/6.209, allocations: 39.08 kB / 2.389 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/6.209, allocations: 12.08 kB / 2.389 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.266e-05/6.209, allocations: 11.33 kB / 2.389 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/6.209, allocations: 11.66 kB / 2.389 GB, free: 182.6 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.398e-05/6.209, allocations: 120.6 kB / 2.389 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.709e-05/6.209, allocations: 7.812 kB / 2.389 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.985e-05/6.209, allocations: 19.61 kB / 2.389 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/6.209, allocations: 3.906 kB / 2.389 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/6.209, allocations: 0 / 2.389 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/6.209, allocations: 4 kB / 2.389 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/6.209, allocations: 195 kB / 2.389 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/6.209, allocations: 0 / 2.389 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/6.209, allocations: 35.05 kB / 2.389 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/6.209, allocations: 0 / 2.389 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/6.209, allocations: 7.406 kB / 2.389 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/6.209, allocations: 4.641 kB / 2.389 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/6.209, allocations: 0 / 2.389 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000259/6.21, allocations: 210.9 kB / 2.389 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.073e-05/6.21, allocations: 92.7 kB / 2.389 GB, free: 182 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/6.21, allocations: 3.562 kB / 2.389 GB, free: 182 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/6.21, allocations: 7.719 kB / 2.389 GB, free: 182 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.373e-05/6.21, allocations: 11.03 kB / 2.389 GB, free: 182 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/6.21, allocations: 7.812 kB / 2.389 GB, free: 182 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.46e-05/6.21, allocations: 79.16 kB / 2.39 GB, free: 182 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.11e-07/6.21, allocations: 0 / 2.39 GB, free: 182 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003455/6.21, allocations: 62.31 kB / 2.39 GB, free: 182 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 () * 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 (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.0009348/6.211, allocations: 1.209 MB / 2.391 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001763/6.212, allocations: 102.8 kB / 2.391 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/6.212, allocations: 0 / 2.391 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.328e-05/6.212, allocations: 63.56 kB / 2.391 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001586/6.212, allocations: 8.609 kB / 2.391 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/6.213, allocations: 1.461 MB / 2.392 GB, free: 180 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001464/6.213, allocations: 0.7041 MB / 2.393 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001261/6.213, allocations: 24.25 kB / 2.393 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.153e-05/6.213, allocations: 26 kB / 2.393 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of SimCode: time 1.072e-06/6.213, allocations: 96 / 2.393 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0221/6.236, allocations: 11.13 MB / 2.404 GB, free: 175.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001703/6.236, allocations: 157.8 kB / 2.404 GB, free: 175.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.995/8.23, allocations: 4 kB / 2.404 GB, free: 175.3 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)