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.0008389/0.0008389, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005694/0.005695, allocations: 170.5 kB / 16.27 MB, free: 6.648 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.344/1.344, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8744/0.8744, allocations: 135.3 MB / 426.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005519/0.000552, allocations: 8 kB / 0.5077 GB, free: 4.695 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1908, allocations: 82.31 MB / 0.5881 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.001354/0.1922, allocations: 1.05 MB / 0.5891 GB, free: 1.488 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5341/0.7263, allocations: 144.2 MB / 0.7299 GB, free: 2.648 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.211e-05/0.7265, allocations: 0 / 0.7299 GB, free: 2.648 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.452e-05/0.7265, allocations: 7.016 kB / 0.73 GB, free: 2.645 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001501/0.7267, allocations: 9.297 kB / 0.73 GB, free: 2.641 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.7279, allocations: 301 kB / 0.7303 GB, free: 2.5 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.7281, allocations: 83.22 kB / 0.7303 GB, free: 2.477 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.582e-05/0.7282, allocations: 3.375 kB / 0.7303 GB, free: 2.477 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.74e-05/0.7282, allocations: 30.69 kB / 0.7304 GB, free: 2.465 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.7284, allocations: 36.58 kB / 0.7304 GB, free: 2.449 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.7284, allocations: 3.031 kB / 0.7304 GB, free: 2.449 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001185/0.7296, allocations: 0.4891 MB / 0.7309 GB, free: 2.262 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.827e-05/0.7296, allocations: 21.86 kB / 0.7309 GB, free: 2.25 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.257e-05/0.7297, allocations: 51.25 kB / 0.7309 GB, free: 2.207 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004309/0.7302, allocations: 184.1 kB / 0.7311 GB, free: 2.148 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.7302, allocations: 4.938 kB / 0.7311 GB, free: 2.145 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.204e-06/0.7302, allocations: 0 / 0.7311 GB, free: 2.145 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.7302, allocations: 0 / 0.7311 GB, free: 2.145 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.0005952/0.7308, allocations: 377.9 kB / 0.7315 GB, free: 1.762 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.7308, allocations: 10.59 kB / 0.7315 GB, free: 1.762 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.18e-05/0.7309, allocations: 37.22 kB / 0.7315 GB, free: 1.719 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004556/0.7314, allocations: 41.55 kB / 0.7316 GB, free: 1.711 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.7315, allocations: 166.1 kB / 0.7317 GB, free: 1.516 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.7315, allocations: 10.88 kB / 0.7317 GB, free: 1.508 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.526e-05/0.7315, allocations: 10.19 kB / 0.7318 GB, free: 1.504 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.7318, allocations: 79.97 kB / 0.7318 GB, free: 1.457 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.7318, allocations: 3.938 kB / 0.7318 GB, free: 1.453 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.7318, allocations: 2.25 kB / 0.7318 GB, free: 1.453 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.7318, allocations: 1.062 kB / 0.7318 GB, free: 1.453 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.7319, allocations: 46.12 kB / 0.7319 GB, free: 1.445 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002359/0.7322, allocations: 190.8 kB / 0.7321 GB, free: 1.234 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.7324, allocations: 90.67 kB / 0.7321 GB, free: 1.195 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.177e-05/0.7325, allocations: 43.34 kB / 0.7322 GB, free: 1.168 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002479/0.7327, allocations: 174.4 kB / 0.7324 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/0.7328, allocations: 37.72 kB / 0.7324 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.303e-06/0.7328, allocations: 3.938 kB / 0.7324 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.001489/0.7343, allocations: 0.5377 MB / 0.7329 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.7343, allocations: 56.41 kB / 0.733 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.19e-05/0.7344, allocations: 102.6 kB / 0.7331 GB, free: 428 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.7344, allocations: 26.8 kB / 0.7331 GB, free: 396 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.201e-05/0.7345, allocations: 85.77 kB / 0.7332 GB, free: 308 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.36e-05/0.7346, allocations: 73.62 kB / 0.7332 GB, free: 248 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.7347, allocations: 26.31 kB / 0.7333 GB, free: 224 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.7349, allocations: 324.1 kB / 0.7336 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.354e-05/0.7349, allocations: 33.81 kB / 0.7336 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.735, allocations: 67.55 kB / 0.7337 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002154/0.7353, allocations: 121.3 kB / 0.7338 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.7353, allocations: 1 kB / 0.7338 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002809/0.7356, allocations: 157.4 kB / 0.7339 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.7356, allocations: 5.156 kB / 0.734 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.455e-06/0.7356, allocations: 1.891 kB / 0.734 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.7356, allocations: 1.938 kB / 0.734 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/0.7358, allocations: 42.91 kB / 0.734 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.7358, allocations: 2.188 kB / 0.734 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.354e-05/0.7359, allocations: 10.95 kB / 0.734 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.7359, allocations: 6.469 kB / 0.734 GB, free: 15.68 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 0.0001264/0.7361, allocations: 127.4 kB / 0.7341 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.288e-05/0.7361, allocations: 9.594 kB / 0.7341 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.36e-05/0.7362, allocations: 17.28 kB / 0.7342 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.7362, allocations: 2.344 kB / 0.7342 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.7362, allocations: 0 / 0.7342 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-05/0.7362, allocations: 6.375 kB / 0.7342 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/0.7364, allocations: 192.7 kB / 0.7344 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.7364, allocations: 3.75 kB / 0.7344 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000205/0.7366, allocations: 35.34 kB / 0.7344 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/0.7367, allocations: 5.062 kB / 0.7344 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.7367, allocations: 7.375 kB / 0.7344 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.7367, allocations: 1 kB / 0.7344 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.7367, allocations: 1.406 kB / 0.7344 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003692/0.7371, allocations: 210 kB / 0.7346 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.7372, allocations: 95.61 kB / 0.7347 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.7372, allocations: 1.344 kB / 0.7347 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.7374, allocations: 14.09 kB / 0.7347 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/0.7374, allocations: 16.69 kB / 0.7347 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.7374, allocations: 9.547 kB / 0.7347 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.411e-05/0.7375, allocations: 77.33 kB / 0.7348 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.7375, allocations: 0 / 0.7348 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002506/0.7378, allocations: 29.91 kB / 0.7348 GB, free: 15 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.0006741/0.7384, allocations: 0.7448 MB / 0.7356 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002743/0.7387, allocations: 107.5 kB / 0.7357 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.7387, allocations: 1.188 kB / 0.7357 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.441e-05/0.7388, allocations: 55.97 kB / 0.7357 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.7391, allocations: 16.38 kB / 0.7357 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002418/0.7415, allocations: 1.921 MB / 0.7376 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.7419, allocations: 0.7039 MB / 0.7383 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001432/0.7421, allocations: 18.61 kB / 0.7383 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.642e-05/0.7421, allocations: 25.41 kB / 0.7383 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of SimCode: time 8.81e-07/0.7421, allocations: 1 kB / 0.7383 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3266/1.069, allocations: 2.184 MB / 0.7405 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003237/1.069, allocations: 180.9 kB / 0.7407 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.999/3.068, allocations: 0 / 0.7407 GB, free: 11.55 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)