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.001184/0.001188, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001242/0.001242, allocations: 193.2 kB / 16.25 MB, free: 6.637 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.261/1.261, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9427/0.9427, allocations: 135.1 MB / 425.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001232, allocations: 68.55 kB / 0.505 GB, free: 5.547 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1501, allocations: 80.93 MB / 0.584 GB, free: 4.785 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.0024/0.1525, allocations: 1.385 MB / 0.5853 GB, free: 3.383 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3931/0.5456, allocations: 145.9 MB / 0.7278 GB, free: 1.852 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.663e-05/0.5457, allocations: 0 / 0.7278 GB, free: 1.852 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.675e-05/0.5457, allocations: 1.922 kB / 0.7278 GB, free: 1.852 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.566e-05/0.5458, allocations: 22.19 kB / 0.7279 GB, free: 1.836 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009667/0.5468, allocations: 303.1 kB / 0.7282 GB, free: 1.695 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000103/0.5469, allocations: 65.83 kB / 0.7282 GB, free: 1.672 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 2.251e-05/0.547, allocations: 4.203 kB / 0.7282 GB, free: 1.672 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.618e-05/0.547, allocations: 34.61 kB / 0.7283 GB, free: 1.656 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.743e-05/0.5471, allocations: 32.3 kB / 0.7283 GB, free: 1.645 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.608e-06/0.5471, allocations: 3.656 kB / 0.7283 GB, free: 1.645 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008413/0.5479, allocations: 439.6 kB / 0.7287 GB, free: 1.473 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.57e-05/0.548, allocations: 21.31 kB / 0.7287 GB, free: 1.461 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.682e-05/0.548, allocations: 25.59 kB / 0.7288 GB, free: 1.449 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003808/0.5484, allocations: 192.5 kB / 0.7289 GB, free: 1.383 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.5485, allocations: 2.531 kB / 0.7289 GB, free: 1.383 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.52e-07/0.5485, allocations: 0 / 0.7289 GB, free: 1.383 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.5485, allocations: 4 kB / 0.7289 GB, free: 1.379 MB / 0.545 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.000365/0.5488, allocations: 384.7 kB / 0.7293 GB, free: 1 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.56e-05/0.5489, allocations: 9.406 kB / 0.7293 GB, free: 1 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.43e-05/0.5489, allocations: 38.14 kB / 0.7294 GB, free: 0.957 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003629/0.5493, allocations: 37.42 kB / 0.7294 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.867e-05/0.5494, allocations: 166.4 kB / 0.7295 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.5494, allocations: 12.36 kB / 0.7296 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.5494, allocations: 9.469 kB / 0.7296 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.5496, allocations: 84.31 kB / 0.7296 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.14e-06/0.5496, allocations: 0 / 0.7296 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.5496, allocations: 1.5 kB / 0.7296 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.5496, allocations: 1.375 kB / 0.7297 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.805e-05/0.5497, allocations: 45.53 kB / 0.7297 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/0.5499, allocations: 191 kB / 0.7299 GB, free: 484 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/0.5501, allocations: 96.09 kB / 0.73 GB, free: 436 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.042e-05/0.5501, allocations: 31.98 kB / 0.73 GB, free: 420 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001852/0.5503, allocations: 173.5 kB / 0.7302 GB, free: 228 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.5503, allocations: 37.62 kB / 0.7302 GB, free: 184 kB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.233e-06/0.5503, allocations: 0 / 0.7302 GB, free: 184 kB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.001227/0.5516, allocations: 0.5461 MB / 0.7307 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.5516, allocations: 54.61 kB / 0.7308 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.054e-05/0.5517, allocations: 102.7 kB / 0.7309 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.5517, allocations: 27.48 kB / 0.7309 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.796e-05/0.5517, allocations: 88.64 kB / 0.731 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.281e-05/0.5518, allocations: 65.61 kB / 0.7311 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-05/0.5518, allocations: 40.12 kB / 0.7311 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.552, allocations: 323.8 kB / 0.7314 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.263e-05/0.552, allocations: 33.92 kB / 0.7314 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.395e-05/0.5521, allocations: 77.81 kB / 0.7315 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.5523, allocations: 117.1 kB / 0.7316 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.5523, allocations: 0 / 0.7316 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002201/0.5525, allocations: 162.4 kB / 0.7318 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.5525, allocations: 4.781 kB / 0.7318 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.5525, allocations: 5.938 kB / 0.7318 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.474e-06/0.5525, allocations: 1.469 kB / 0.7318 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.5527, allocations: 36.14 kB / 0.7318 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.5527, allocations: 1.25 kB / 0.7318 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.452e-05/0.5528, allocations: 10.84 kB / 0.7318 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.5528, allocations: 10.16 kB / 0.7318 GB, free: 14.92 MB / 0.5606 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 8.14e-05/0.5529, allocations: 122.5 kB / 0.732 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.5529, allocations: 9.406 kB / 0.732 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.846e-05/0.5529, allocations: 17.84 kB / 0.732 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.5529, allocations: 1.766 kB / 0.732 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.5529, allocations: 4.469 kB / 0.732 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.553, allocations: 6 kB / 0.732 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.5531, allocations: 188.3 kB / 0.7322 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.5531, allocations: 1.5 kB / 0.7322 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001847/0.5533, allocations: 46.55 kB / 0.7322 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.5533, allocations: 1.938 kB / 0.7322 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.5533, allocations: 1.438 kB / 0.7322 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.5533, allocations: 0.8906 kB / 0.7322 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.5534, allocations: 3.531 kB / 0.7322 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002765/0.5536, allocations: 208.5 kB / 0.7324 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.693e-05/0.5537, allocations: 95.67 kB / 0.7325 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.5537, allocations: 5.984 kB / 0.7325 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.5539, allocations: 13.03 kB / 0.7325 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.614e-05/0.5539, allocations: 14.12 kB / 0.7326 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.5539, allocations: 13.2 kB / 0.7326 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.787e-05/0.5539, allocations: 77.55 kB / 0.7326 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.5539, allocations: 0 / 0.7326 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002099/0.5542, allocations: 26.22 kB / 0.7327 GB, free: 14.24 MB / 0.5606 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.0006006/0.5548, allocations: 0.7439 MB / 0.7334 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002695/0.555, allocations: 117.8 kB / 0.7335 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.5551, allocations: 1.438 kB / 0.7335 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.839e-05/0.5552, allocations: 56.28 kB / 0.7336 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.5554, allocations: 17.11 kB / 0.7336 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.5572, allocations: 1.845 MB / 0.7354 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.5574, allocations: 0.7029 MB / 0.7361 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001306/0.5576, allocations: 20 kB / 0.7361 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.23e-05/0.5576, allocations: 25.36 kB / 0.7361 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of SimCode: time 2.7e-07/0.5577, allocations: 4 kB / 0.7361 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.968/2.525, allocations: 2.292 MB / 0.7383 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002341/2.526, allocations: 182.4 kB / 0.7385 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.735/4.26, allocations: 7.938 kB / 0.7385 GB, free: 10.72 MB / 0.5606 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)