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.001328/0.001328, allocations: 86.36 kB / 15.06 MB, free: 1.082 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.001861/0.001861, allocations: 176.7 kB / 15.96 MB, free: 196 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.024/1.024, allocations: 135.3 MB / 426.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003758/0.0003759, allocations: 8 kB / 0.5071 GB, free: 5.184 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.1924, allocations: 82.31 MB / 0.5875 GB, free: 3.039 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.001496/0.1939, allocations: 1.037 MB / 0.5885 GB, free: 1.988 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5236/0.7175, allocations: 134.5 MB / 0.7198 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.819e-05/0.7177, allocations: 4 kB / 0.7198 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.794e-05/0.7177, allocations: 7.031 kB / 0.7198 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001331/0.7179, allocations: 8.797 kB / 0.7198 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008862/0.7188, allocations: 223.1 kB / 0.72 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.7189, allocations: 75.61 kB / 0.7201 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.163e-05/0.7189, allocations: 3.531 kB / 0.7201 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.559e-05/0.719, allocations: 31.3 kB / 0.7201 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.7191, allocations: 31.7 kB / 0.7201 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.7191, allocations: 3.781 kB / 0.7201 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007336/0.7199, allocations: 253.4 kB / 0.7204 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.285e-05/0.72, allocations: 13.72 kB / 0.7204 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.623e-05/0.72, allocations: 40.48 kB / 0.7204 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002448/0.7203, allocations: 100.6 kB / 0.7205 GB, free: 10.91 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.7203, allocations: 4.75 kB / 0.7205 GB, free: 10.91 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.027e-06/0.7203, allocations: 0 / 0.7205 GB, free: 10.91 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.7203, allocations: 5.438 kB / 0.7205 GB, free: 10.91 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.0005075/0.7208, allocations: 369.9 kB / 0.7209 GB, free: 10.53 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.7209, allocations: 9.094 kB / 0.7209 GB, free: 10.53 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.169e-05/0.7209, allocations: 38.05 kB / 0.7209 GB, free: 10.49 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004269/0.7214, allocations: 38.97 kB / 0.721 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.7215, allocations: 165.2 kB / 0.7211 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.7215, allocations: 9.141 kB / 0.7211 GB, free: 10.28 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.667e-05/0.7216, allocations: 10.11 kB / 0.7212 GB, free: 10.28 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002162/0.7218, allocations: 80.22 kB / 0.7212 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.7218, allocations: 0.8125 kB / 0.7212 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.7218, allocations: 1.094 kB / 0.7212 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.7218, allocations: 2.031 kB / 0.7212 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.722, allocations: 53.12 kB / 0.7213 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002369/0.7222, allocations: 194.3 kB / 0.7215 GB, free: 10 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/0.7224, allocations: 94.14 kB / 0.7216 GB, free: 9.953 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.244e-05/0.7225, allocations: 32.66 kB / 0.7216 GB, free: 9.938 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002414/0.7228, allocations: 172.8 kB / 0.7218 GB, free: 9.75 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.7228, allocations: 41.64 kB / 0.7218 GB, free: 9.703 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.092e-06/0.7228, allocations: 0 / 0.7218 GB, free: 9.703 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.001372/0.7242, allocations: 0.5349 MB / 0.7223 GB, free: 9.359 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.7242, allocations: 58.34 kB / 0.7224 GB, free: 9.293 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.859e-05/0.7243, allocations: 106.4 kB / 0.7225 GB, free: 9.184 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.7244, allocations: 31.7 kB / 0.7225 GB, free: 9.148 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.971e-05/0.7244, allocations: 80.52 kB / 0.7226 GB, free: 9.066 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.397e-05/0.7245, allocations: 69.33 kB / 0.7227 GB, free: 9.012 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.916e-06/0.7245, allocations: 5.969 kB / 0.7227 GB, free: 9.008 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.7246, allocations: 319.2 kB / 0.723 GB, free: 8.691 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.118e-05/0.7247, allocations: 32.66 kB / 0.723 GB, free: 8.684 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.794e-05/0.7248, allocations: 71.53 kB / 0.7231 GB, free: 8.637 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.625e-05/0.7249, allocations: 50.66 kB / 0.7231 GB, free: 8.617 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.7249, allocations: 0 / 0.7231 GB, free: 8.617 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002579/0.7251, allocations: 155.7 kB / 0.7233 GB, free: 8.539 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.7252, allocations: 6.234 kB / 0.7233 GB, free: 8.539 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.7252, allocations: 0 / 0.7233 GB, free: 8.539 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.7252, allocations: 6.203 kB / 0.7233 GB, free: 8.535 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.7254, allocations: 36.38 kB / 0.7233 GB, free: 8.535 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.7254, allocations: 3.359 kB / 0.7233 GB, free: 8.535 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.401e-05/0.7255, allocations: 18.08 kB / 0.7233 GB, free: 8.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.7255, allocations: 9.938 kB / 0.7233 GB, free: 8.516 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.83e-05/0.7256, allocations: 118.9 kB / 0.7234 GB, free: 8.395 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.999e-05/0.7256, allocations: 9.016 kB / 0.7235 GB, free: 8.391 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.823e-05/0.7257, allocations: 18.28 kB / 0.7235 GB, free: 8.379 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.7257, allocations: 2.188 kB / 0.7235 GB, free: 8.379 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.7257, allocations: 0 / 0.7235 GB, free: 8.379 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.7257, allocations: 1.812 kB / 0.7235 GB, free: 8.379 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001878/0.7259, allocations: 201.4 kB / 0.7237 GB, free: 8.164 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.7259, allocations: 0 / 0.7237 GB, free: 8.164 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001996/0.7261, allocations: 40.2 kB / 0.7237 GB, free: 8.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.7261, allocations: 1.125 kB / 0.7237 GB, free: 8.16 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.7261, allocations: 5.188 kB / 0.7237 GB, free: 8.156 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.7261, allocations: 3.297 kB / 0.7237 GB, free: 8.156 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.7262, allocations: 0 / 0.7237 GB, free: 8.156 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003301/0.7265, allocations: 209.2 kB / 0.7239 GB, free: 8.039 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.117e-05/0.7266, allocations: 90.97 kB / 0.724 GB, free: 7.941 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.7266, allocations: 10.02 kB / 0.724 GB, free: 7.934 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.7267, allocations: 9.438 kB / 0.724 GB, free: 7.93 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.7268, allocations: 17.02 kB / 0.724 GB, free: 7.922 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.7268, allocations: 5.141 kB / 0.724 GB, free: 7.922 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.247e-05/0.7268, allocations: 78.44 kB / 0.7241 GB, free: 7.848 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7268, allocations: 0 / 0.7241 GB, free: 7.848 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002339/0.7271, allocations: 29.34 kB / 0.7241 GB, free: 7.84 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 (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.0005867/0.7277, allocations: 0.7446 MB / 0.7249 GB, free: 7.191 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002276/0.7279, allocations: 104.6 kB / 0.725 GB, free: 7.164 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.7279, allocations: 0.9688 kB / 0.725 GB, free: 7.164 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.139e-05/0.728, allocations: 55.36 kB / 0.725 GB, free: 7.148 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.7282, allocations: 18.06 kB / 0.725 GB, free: 7.141 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.7297, allocations: 1.006 MB / 0.726 GB, free: 6.422 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.73, allocations: 0.7029 MB / 0.7267 GB, free: 5.723 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000142/0.7301, allocations: 23.23 kB / 0.7267 GB, free: 5.715 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.333e-05/0.7302, allocations: 25.19 kB / 0.7268 GB, free: 5.699 MB / 0.545 GB Notification: Performance of SimCode: time 2.6e-07/0.7302, allocations: 0 / 0.7268 GB, free: 5.699 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01399/0.7442, allocations: 2.123 MB / 0.7288 GB, free: 5.496 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/0.7445, allocations: 169.9 kB / 0.729 GB, free: 5.258 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.704/2.449, allocations: 0 / 0.729 GB, free: 5.258 MB / 0.545 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) Environment - environmentSimulation: