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: translateModel(IDEAS.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck") translateModel(IDEAS.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 112.2 kB / 16.37 MB, free: 5.953 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.001058/0.001058, allocations: 190.2 kB / 17.3 MB, free: 5.578 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.285/1.285, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7628/0.7628, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001781/0.001782, allocations: 59.91 kB / 0.5067 GB, free: 7.672 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3824, allocations: 80.9 MB / 0.5858 GB, free: 25.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002062/0.3845, allocations: 1.334 MB / 0.5871 GB, free: 24.44 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1407/0.5251, allocations: 148.1 MB / 0.7317 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.559e-05/0.5252, allocations: 0 / 0.7317 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.642e-05/0.5253, allocations: 7.922 kB / 0.7317 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.52e-05/0.5255, allocations: 11.92 kB / 0.7317 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008535/0.5263, allocations: 334.6 kB / 0.732 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.477e-05/0.5264, allocations: 55.84 kB / 0.7321 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.641e-05/0.5265, allocations: 4 kB / 0.7321 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.578e-05/0.5265, allocations: 35.84 kB / 0.7321 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.051e-05/0.5266, allocations: 35.89 kB / 0.7321 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.5266, allocations: 4 kB / 0.7321 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007162/0.5273, allocations: 406.8 kB / 0.7325 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.489e-05/0.5274, allocations: 19.91 kB / 0.7326 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.341e-05/0.5275, allocations: 27.92 kB / 0.7326 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002898/0.5278, allocations: 157.3 kB / 0.7327 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.5278, allocations: 0 / 0.7327 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5278, allocations: 0 / 0.7327 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.5278, allocations: 4 kB / 0.7327 GB, free: 3.531 MB / 0.5606 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.000423/0.5282, allocations: 391.3 kB / 0.7331 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.5283, allocations: 13.11 kB / 0.7331 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003783/0.5286, allocations: 44.8 kB / 0.7332 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.5288, allocations: 168.3 kB / 0.7333 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.5288, allocations: 11.94 kB / 0.7333 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.205e-05/0.5288, allocations: 8 kB / 0.7333 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.529, allocations: 77.64 kB / 0.7334 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.529, allocations: 0 / 0.7334 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.529, allocations: 7.938 kB / 0.7334 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.5291, allocations: 0 / 0.7334 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.777e-05/0.5291, allocations: 47.95 kB / 0.7335 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001799/0.5293, allocations: 197.4 kB / 0.7337 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.5295, allocations: 90.62 kB / 0.7337 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.093e-05/0.5296, allocations: 29.17 kB / 0.7338 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002185/0.5298, allocations: 178.1 kB / 0.7339 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.5298, allocations: 38.56 kB / 0.734 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.5298, allocations: 0 / 0.734 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.001178/0.531, allocations: 0.5539 MB / 0.7345 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.5311, allocations: 51.41 kB / 0.7346 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.164e-05/0.5311, allocations: 101.8 kB / 0.7347 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.5311, allocations: 29.7 kB / 0.7347 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.628e-05/0.5312, allocations: 84.52 kB / 0.7348 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.813e-05/0.5312, allocations: 71 kB / 0.7348 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.145e-05/0.5313, allocations: 37.7 kB / 0.7349 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.566e-05/0.5314, allocations: 318.8 kB / 0.7352 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.815e-05/0.5315, allocations: 35.97 kB / 0.7352 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.843e-05/0.5315, allocations: 74.78 kB / 0.7353 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.5317, allocations: 111.4 kB / 0.7354 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.5317, allocations: 0 / 0.7354 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002009/0.5319, allocations: 153.5 kB / 0.7355 GB, free: 344 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.5319, allocations: 8 kB / 0.7355 GB, free: 336 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.5319, allocations: 4.062 kB / 0.7355 GB, free: 332 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.532, allocations: 4 kB / 0.7356 GB, free: 328 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.5321, allocations: 43.98 kB / 0.7356 GB, free: 284 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.5321, allocations: 4 kB / 0.7356 GB, free: 280 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.116e-05/0.5322, allocations: 3.938 kB / 0.7356 GB, free: 276 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.5322, allocations: 12 kB / 0.7356 GB, free: 264 kB / 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.636e-05/0.5323, allocations: 126.6 kB / 0.7357 GB, free: 128 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.882e-05/0.5323, allocations: 7.906 kB / 0.7357 GB, free: 120 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.188e-05/0.5324, allocations: 16.44 kB / 0.7358 GB, free: 108 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.5324, allocations: 4 kB / 0.7358 GB, free: 104 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.5324, allocations: 0 / 0.7358 GB, free: 104 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.5324, allocations: 7.938 kB / 0.7358 GB, free: 96 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.5326, allocations: 189.6 kB / 0.736 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.5326, allocations: 0 / 0.736 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/0.5327, allocations: 43.92 kB / 0.736 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.5328, allocations: 0 / 0.736 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.5328, allocations: 7.969 kB / 0.736 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.5328, allocations: 0 / 0.736 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5328, allocations: 4 kB / 0.736 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002837/0.5331, allocations: 219 kB / 0.7362 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.482e-05/0.5332, allocations: 89 kB / 0.7363 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.5332, allocations: 8.062 kB / 0.7363 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.5333, allocations: 3.984 kB / 0.7363 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.403e-05/0.5333, allocations: 19.92 kB / 0.7363 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.5334, allocations: 7.938 kB / 0.7363 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.279e-05/0.5334, allocations: 75.28 kB / 0.7364 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5334, allocations: 0 / 0.7364 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002152/0.5336, allocations: 32 kB / 0.7364 GB, free: 15.32 MB / 0.5762 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.0001411/0.5338, allocations: 107.3 kB / 0.7365 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001999/0.534, allocations: 107.8 kB / 0.7366 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.534, allocations: 0 / 0.7366 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.792e-05/0.5341, allocations: 55.91 kB / 0.7367 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.5343, allocations: 12 kB / 0.7367 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008053/0.5351, allocations: 0.5089 MB / 0.7372 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.5354, allocations: 0.7008 MB / 0.7379 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.991e-05/0.5355, allocations: 24.64 kB / 0.7379 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.237e-05/0.5356, allocations: 15.44 kB / 0.7379 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.5356, allocations: 0 / 0.7379 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of Templates: time 0.003501/0.5391, allocations: 1.115 MB / 0.739 GB, free: 12.63 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.makefile (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 & ./IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe 2>&1)