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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.364/1.364, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8097/0.8097, allocations: 132.2 MB / 422.6 MB, free: 1.809 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 56.53 kB / 0.5019 GB, free: 8.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1543, allocations: 80.21 MB / 0.5802 GB, free: 8.699 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002965/0.1573, allocations: 1.315 MB / 0.5815 GB, free: 7.367 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4521/0.6094, allocations: 148.1 MB / 0.7261 GB, free: 5.215 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.336e-05/0.6095, allocations: 0 / 0.7261 GB, free: 5.215 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.58e-05/0.6095, allocations: 1.547 kB / 0.7261 GB, free: 5.215 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001187/0.6097, allocations: 20.33 kB / 0.7261 GB, free: 5.203 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.6109, allocations: 323.4 kB / 0.7264 GB, free: 5.047 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.611, allocations: 65.7 kB / 0.7265 GB, free: 5.023 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.142e-05/0.611, allocations: 3.141 kB / 0.7265 GB, free: 5.023 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.443e-05/0.6111, allocations: 31.53 kB / 0.7265 GB, free: 5.012 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.6112, allocations: 31.88 kB / 0.7266 GB, free: 5 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.6112, allocations: 6.281 kB / 0.7266 GB, free: 4.996 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009749/0.6122, allocations: 410.7 kB / 0.727 GB, free: 4.828 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.819e-05/0.6123, allocations: 13.27 kB / 0.727 GB, free: 4.824 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.691e-05/0.6123, allocations: 30.45 kB / 0.727 GB, free: 4.809 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004281/0.6128, allocations: 160.8 kB / 0.7271 GB, free: 4.754 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.6128, allocations: 0 / 0.7271 GB, free: 4.754 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6128, allocations: 3.188 kB / 0.7272 GB, free: 4.754 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.6128, allocations: 0.6562 kB / 0.7272 GB, free: 4.754 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.000499/0.6133, allocations: 395.2 kB / 0.7275 GB, free: 4.363 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.6134, allocations: 9.703 kB / 0.7275 GB, free: 4.363 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.652e-05/0.6134, allocations: 39.38 kB / 0.7276 GB, free: 4.32 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004524/0.6139, allocations: 38.81 kB / 0.7276 GB, free: 4.316 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.614, allocations: 167.6 kB / 0.7278 GB, free: 4.117 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.614, allocations: 6.562 kB / 0.7278 GB, free: 4.113 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.922e-05/0.6141, allocations: 10.94 kB / 0.7278 GB, free: 4.109 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/0.6143, allocations: 75.62 kB / 0.7279 GB, free: 4.066 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.6143, allocations: 0 / 0.7279 GB, free: 4.066 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.6144, allocations: 1.734 kB / 0.7279 GB, free: 4.066 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.6144, allocations: 2.062 kB / 0.7279 GB, free: 4.066 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.6145, allocations: 49.41 kB / 0.7279 GB, free: 4.055 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002402/0.6148, allocations: 194.3 kB / 0.7281 GB, free: 3.84 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000203/0.615, allocations: 90.75 kB / 0.7282 GB, free: 3.797 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.669e-05/0.615, allocations: 36.25 kB / 0.7282 GB, free: 3.777 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002634/0.6153, allocations: 173.9 kB / 0.7284 GB, free: 3.59 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.6154, allocations: 44.84 kB / 0.7284 GB, free: 3.539 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.6154, allocations: 0 / 0.7284 GB, free: 3.539 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.001491/0.6169, allocations: 0.5389 MB / 0.729 GB, free: 3.195 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.6169, allocations: 56.14 kB / 0.729 GB, free: 3.133 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.058e-05/0.617, allocations: 106 kB / 0.7291 GB, free: 3.023 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.617, allocations: 33.7 kB / 0.7291 GB, free: 2.988 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.853e-05/0.6171, allocations: 84.52 kB / 0.7292 GB, free: 2.902 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.196e-05/0.6171, allocations: 64.88 kB / 0.7293 GB, free: 2.852 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-05/0.6172, allocations: 43.42 kB / 0.7293 GB, free: 2.82 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.6173, allocations: 319.4 kB / 0.7296 GB, free: 2.504 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.611e-05/0.6174, allocations: 34.23 kB / 0.7297 GB, free: 2.496 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.58e-05/0.6175, allocations: 77.8 kB / 0.7297 GB, free: 2.441 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.6177, allocations: 114.8 kB / 0.7298 GB, free: 2.375 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.6177, allocations: 1.031 kB / 0.7298 GB, free: 2.375 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002441/0.6179, allocations: 158.7 kB / 0.73 GB, free: 2.297 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.618, allocations: 5.969 kB / 0.73 GB, free: 2.297 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.618, allocations: 1.312 kB / 0.73 GB, free: 2.297 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.618, allocations: 2.094 kB / 0.73 GB, free: 2.297 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.6182, allocations: 43.41 kB / 0.73 GB, free: 2.289 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.6182, allocations: 1.859 kB / 0.73 GB, free: 2.289 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.327e-05/0.6183, allocations: 10.12 kB / 0.7301 GB, free: 2.281 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.6183, allocations: 5.406 kB / 0.7301 GB, free: 2.281 MB / 0.545 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 0.0001124/0.6184, allocations: 125.4 kB / 0.7302 GB, free: 2.156 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.6184, allocations: 11.69 kB / 0.7302 GB, free: 2.152 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.163e-05/0.6185, allocations: 18.12 kB / 0.7302 GB, free: 2.141 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.6185, allocations: 3.969 kB / 0.7302 GB, free: 2.141 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.6185, allocations: 4.75 kB / 0.7302 GB, free: 2.137 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.6185, allocations: 4.781 kB / 0.7302 GB, free: 2.133 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/0.6187, allocations: 193 kB / 0.7304 GB, free: 1.926 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.6187, allocations: 1.094 kB / 0.7304 GB, free: 1.926 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001957/0.6189, allocations: 35.09 kB / 0.7304 GB, free: 1.926 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.485e-06/0.6189, allocations: 1.375 kB / 0.7304 GB, free: 1.926 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.619, allocations: 10.25 kB / 0.7305 GB, free: 1.918 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.619, allocations: 0 / 0.7305 GB, free: 1.918 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.619, allocations: 1.625 kB / 0.7305 GB, free: 1.918 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000332/0.6193, allocations: 212 kB / 0.7307 GB, free: 1.797 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.485e-05/0.6194, allocations: 96.36 kB / 0.7308 GB, free: 1.695 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.6194, allocations: 1.719 kB / 0.7308 GB, free: 1.695 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.6196, allocations: 9.844 kB / 0.7308 GB, free: 1.691 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.998e-05/0.6196, allocations: 14.33 kB / 0.7308 GB, free: 1.688 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.6196, allocations: 8.562 kB / 0.7308 GB, free: 1.684 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.339e-05/0.6197, allocations: 76.41 kB / 0.7309 GB, free: 1.609 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6197, allocations: 0 / 0.7309 GB, free: 1.609 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002376/0.6199, allocations: 34.22 kB / 0.7309 GB, free: 1.598 MB / 0.545 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.0006223/0.6206, allocations: 0.7399 MB / 0.7316 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002373/0.6208, allocations: 124.5 kB / 0.7317 GB, free: 0.918 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.6208, allocations: 0 / 0.7317 GB, free: 0.918 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.26e-05/0.6209, allocations: 56.27 kB / 0.7318 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.6212, allocations: 23.08 kB / 0.7318 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00193/0.6231, allocations: 1.813 MB / 0.7336 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.6234, allocations: 0.7013 MB / 0.7343 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001542/0.6236, allocations: 28.58 kB / 0.7343 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.764e-05/0.6236, allocations: 25.42 kB / 0.7343 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of SimCode: time 5.01e-07/0.6236, allocations: 0 / 0.7343 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02234/0.646, allocations: 2.356 MB / 0.7366 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.768/10.41, allocations: 7.094 kB / 0.7366 GB, free: 14.25 MB / 0.5606 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/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)