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.001541/0.001541, allocations: 100 kB / 15.05 MB, free: 1.105 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.001781/0.001781, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.581/2.581, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.354/1.354, allocations: 132.2 MB / 423.2 MB, free: 2.211 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007891/0.0007894, allocations: 12.81 kB / 0.5033 GB, free: 4.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9188/0.9196, allocations: 81.57 MB / 0.583 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.001983/0.9217, allocations: 1.031 MB / 0.584 GB, free: 3.246 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2738/1.196, allocations: 125.2 MB / 0.7062 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/1.196, allocations: 0 / 0.7062 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 8.729e-05/1.196, allocations: 3.938 kB / 0.7062 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001406/1.196, allocations: 15.95 kB / 0.7062 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001787/1.198, allocations: 235.3 kB / 0.7064 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001921/1.198, allocations: 39.88 kB / 0.7065 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.7e-05/1.198, allocations: 4 kB / 0.7065 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/1.198, allocations: 27.97 kB / 0.7065 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/1.198, allocations: 31.89 kB / 0.7065 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.731e-05/1.198, allocations: 7.938 kB / 0.7065 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001391/1.2, allocations: 271.5 kB / 0.7068 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.458e-05/1.2, allocations: 23.91 kB / 0.7068 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.481e-05/1.2, allocations: 41.64 kB / 0.7069 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004436/1.2, allocations: 94.06 kB / 0.7069 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/1.201, allocations: 0 / 0.7069 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.707e-06/1.201, allocations: 0 / 0.7069 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.117e-06/1.201, allocations: 0 / 0.7069 GB, free: 1.332 MB / 0.5294 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.0008568/1.201, allocations: 375.2 kB / 0.7073 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 8.785e-05/1.202, allocations: 12.03 kB / 0.7073 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.475e-05/1.202, allocations: 42.5 kB / 0.7074 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007925/1.202, allocations: 39.88 kB / 0.7074 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003102/1.203, allocations: 167 kB / 0.7076 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.342e-05/1.203, allocations: 8 kB / 0.7076 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.207e-05/1.203, allocations: 11.98 kB / 0.7076 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003042/1.203, allocations: 77.27 kB / 0.7076 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/1.203, allocations: 0 / 0.7076 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.725e-05/1.203, allocations: 0 / 0.7076 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/1.203, allocations: 7.953 kB / 0.7077 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001469/1.203, allocations: 43.95 kB / 0.7077 GB, free: 472 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003804/1.204, allocations: 193.5 kB / 0.7079 GB, free: 228 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/1.204, allocations: 86.59 kB / 0.708 GB, free: 132 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.028e-05/1.204, allocations: 8.031 kB / 0.708 GB, free: 124 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.444e-05/1.204, allocations: 38.56 kB / 0.708 GB, free: 76 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 2.003e-06/1.204, allocations: 0 / 0.708 GB, free: 76 kB / 0.5294 GB Notification: Performance of matching and sorting (n=19): time 0.002308/1.207, allocations: 0.5388 MB / 0.7085 GB, free: 15.48 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.437e-05/1.207, allocations: 59.36 kB / 0.7086 GB, free: 15.41 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/1.207, allocations: 105.8 kB / 0.7087 GB, free: 15.3 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.003e-05/1.207, allocations: 29.7 kB / 0.7087 GB, free: 15.27 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.822e-05/1.207, allocations: 88.45 kB / 0.7088 GB, free: 15.18 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/1.207, allocations: 67 kB / 0.7089 GB, free: 15.11 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.389e-05/1.207, allocations: 4 kB / 0.7089 GB, free: 15.11 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000269/1.207, allocations: 322.8 kB / 0.7092 GB, free: 14.78 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/1.208, allocations: 31.98 kB / 0.7092 GB, free: 14.75 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/1.208, allocations: 63.41 kB / 0.7093 GB, free: 14.68 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/1.208, allocations: 52.11 kB / 0.7093 GB, free: 14.62 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/1.208, allocations: 0 / 0.7093 GB, free: 14.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003872/1.208, allocations: 165.5 kB / 0.7095 GB, free: 14.46 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/1.208, allocations: 4 kB / 0.7095 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/1.208, allocations: 4 kB / 0.7095 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.476e-05/1.208, allocations: 0 / 0.7095 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002554/1.209, allocations: 39.92 kB / 0.7095 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.52e-05/1.209, allocations: 3.953 kB / 0.7095 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.086e-05/1.209, allocations: 8 kB / 0.7095 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/1.209, allocations: 12 kB / 0.7095 GB, free: 14.39 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 0.0001684/1.209, allocations: 113.8 kB / 0.7097 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.127e-05/1.209, allocations: 11.91 kB / 0.7097 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.083e-05/1.209, allocations: 24.36 kB / 0.7097 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/1.209, allocations: 3.984 kB / 0.7097 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/1.209, allocations: 0 / 0.7097 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/1.209, allocations: 7.953 kB / 0.7097 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003065/1.209, allocations: 189.6 kB / 0.7099 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/1.209, allocations: 0 / 0.7099 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002872/1.21, allocations: 39.98 kB / 0.7099 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.654e-06/1.21, allocations: 0 / 0.7099 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/1.21, allocations: 8 kB / 0.7099 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/1.21, allocations: 0 / 0.7099 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/1.21, allocations: 0 / 0.7099 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005629/1.21, allocations: 214.5 kB / 0.7101 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/1.211, allocations: 89 kB / 0.7102 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.466e-05/1.211, allocations: 4 kB / 0.7102 GB, free: 13.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/1.211, allocations: 16.05 kB / 0.7102 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.031e-05/1.211, allocations: 7.984 kB / 0.7102 GB, free: 13.58 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.342e-05/1.211, allocations: 8 kB / 0.7103 GB, free: 13.57 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.606e-05/1.211, allocations: 75.28 kB / 0.7103 GB, free: 13.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/1.211, allocations: 7.938 kB / 0.7103 GB, free: 13.49 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003967/1.211, allocations: 31.95 kB / 0.7104 GB, free: 13.46 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.001024/1.212, allocations: 0.7504 MB / 0.7111 GB, free: 12.68 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000346/1.213, allocations: 104.3 kB / 0.7112 GB, free: 12.58 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/1.213, allocations: 0 / 0.7112 GB, free: 12.58 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001179/1.213, allocations: 55.92 kB / 0.7112 GB, free: 12.53 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/1.213, allocations: 10.52 kB / 0.7113 GB, free: 12.52 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002615/1.216, allocations: 1.457 MB / 0.7127 GB, free: 11 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003965/1.216, allocations: 0.705 MB / 0.7134 GB, free: 10.27 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001479/1.217, allocations: 24.42 kB / 0.7134 GB, free: 10.25 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.061e-05/1.217, allocations: 23.44 kB / 0.7134 GB, free: 10.22 MB / 0.545 GB Notification: Performance of SimCode: time 6.91e-07/1.217, allocations: 0 / 0.7134 GB, free: 10.22 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01539/1.232, allocations: 2.086 MB / 0.7155 GB, free: 8.262 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002505/1.232, allocations: 161.8 kB / 0.7156 GB, free: 8.023 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.805/4.037, allocations: 4 kB / 0.7156 GB, free: 8.02 MB / 0.545 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/linux/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) Environment - environmentSimulation: