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-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_IDEAS.Media.Examples.AirDerivativeCheck") translateModel(IDEAS.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001128/0.001128, 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.001287/0.001287, allocations: 177.3 kB / 15.94 MB, free: 220 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.229/1.229, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8574/0.8574, allocations: 135.2 MB / 426.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000297/0.000297, allocations: 9.906 kB / 0.5068 GB, free: 5.262 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1601, allocations: 82.31 MB / 0.5872 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.001361/0.1615, allocations: 1.017 MB / 0.5882 GB, free: 2.102 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4163/0.5779, allocations: 125.1 MB / 0.7104 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.181e-05/0.578, allocations: 0 / 0.7104 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.944e-05/0.578, allocations: 10 kB / 0.7104 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.164e-05/0.5781, allocations: 11.33 kB / 0.7104 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007399/0.5788, allocations: 232.5 kB / 0.7106 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.276e-05/0.5789, allocations: 48.69 kB / 0.7107 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.095e-05/0.579, allocations: 6.5 kB / 0.7107 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.277e-05/0.579, allocations: 26.08 kB / 0.7107 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.553e-05/0.5791, allocations: 28.66 kB / 0.7107 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.5791, allocations: 2.812 kB / 0.7107 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006739/0.5798, allocations: 281.8 kB / 0.711 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.863e-05/0.5799, allocations: 19.75 kB / 0.711 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.42e-05/0.5799, allocations: 37.39 kB / 0.7111 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.5801, allocations: 97.89 kB / 0.7112 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.5801, allocations: 4 kB / 0.7112 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.943e-06/0.5802, allocations: 1.25 kB / 0.7112 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.5802, allocations: 0 / 0.7112 GB, free: 2.289 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.0004252/0.5806, allocations: 374.4 kB / 0.7115 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.5806, allocations: 9.281 kB / 0.7115 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003834/0.581, allocations: 38.83 kB / 0.7116 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.5811, allocations: 168.9 kB / 0.7117 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.5812, allocations: 10.59 kB / 0.7117 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.5812, allocations: 12.31 kB / 0.7118 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.5814, allocations: 75.7 kB / 0.7118 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.5814, allocations: 5.672 kB / 0.7118 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.5814, allocations: 1.734 kB / 0.7118 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.5814, allocations: 5.25 kB / 0.7118 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.5815, allocations: 44.78 kB / 0.7119 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002264/0.5818, allocations: 191.6 kB / 0.7121 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.582, allocations: 94.27 kB / 0.7122 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.041e-05/0.582, allocations: 6.672 kB / 0.7122 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.5821, allocations: 37.16 kB / 0.7122 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.5821, allocations: 0 / 0.7122 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of matching and sorting (n=19): time 0.001273/0.5833, allocations: 0.5459 MB / 0.7127 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.5834, allocations: 54.34 kB / 0.7128 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.093e-05/0.5835, allocations: 98.17 kB / 0.7129 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.5835, allocations: 31.48 kB / 0.7129 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.032e-05/0.5835, allocations: 81.48 kB / 0.713 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.679e-05/0.5836, allocations: 64.12 kB / 0.713 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-06/0.5836, allocations: 13.41 kB / 0.7131 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.5837, allocations: 324.4 kB / 0.7134 GB, free: 316 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.227e-05/0.5838, allocations: 34.16 kB / 0.7134 GB, free: 308 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.318e-05/0.5839, allocations: 63.52 kB / 0.7135 GB, free: 264 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.556e-05/0.584, allocations: 50.08 kB / 0.7135 GB, free: 244 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.584, allocations: 1.219 kB / 0.7135 GB, free: 244 kB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002143/0.5842, allocations: 163.1 kB / 0.7137 GB, free: 160 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.5842, allocations: 4.562 kB / 0.7137 GB, free: 160 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.5843, allocations: 1.562 kB / 0.7137 GB, free: 160 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.5843, allocations: 2.156 kB / 0.7137 GB, free: 160 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.5844, allocations: 36.7 kB / 0.7137 GB, free: 160 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.5845, allocations: 5.703 kB / 0.7137 GB, free: 156 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.387e-05/0.5845, allocations: 6.344 kB / 0.7137 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.5845, allocations: 13.34 kB / 0.7137 GB, free: 144 kB / 0.5294 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 8.382e-05/0.5846, allocations: 118.8 kB / 0.7138 GB, free: 20 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.5847, allocations: 10.16 kB / 0.7139 GB, free: 16 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.759e-05/0.5847, allocations: 16.95 kB / 0.7139 GB, free: 4 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.5847, allocations: 2.5 kB / 0.7139 GB, free: 4 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.5847, allocations: 0.6562 kB / 0.7139 GB, free: 4 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.5847, allocations: 1.562 kB / 0.7139 GB, free: 4 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.5849, allocations: 197.3 kB / 0.7141 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.5849, allocations: 0 / 0.7141 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001883/0.5851, allocations: 39.11 kB / 0.7141 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.5851, allocations: 1.859 kB / 0.7141 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/0.5852, allocations: 5.031 kB / 0.7141 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.5852, allocations: 5.812 kB / 0.7141 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5852, allocations: 1 kB / 0.7141 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002985/0.5855, allocations: 212.4 kB / 0.7143 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.803e-05/0.5856, allocations: 91.86 kB / 0.7144 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.5856, allocations: 5.812 kB / 0.7144 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.5857, allocations: 6.172 kB / 0.7144 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.5858, allocations: 13.03 kB / 0.7144 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.5858, allocations: 4.938 kB / 0.7144 GB, free: 15.55 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.972e-05/0.5858, allocations: 81.12 kB / 0.7145 GB, free: 15.47 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5858, allocations: 1.031 kB / 0.7145 GB, free: 15.47 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002154/0.586, allocations: 29.62 kB / 0.7145 GB, free: 15.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.0001339/0.5862, allocations: 104 kB / 0.7146 GB, free: 15.38 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002006/0.5864, allocations: 113.1 kB / 0.7147 GB, free: 15.34 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.5864, allocations: 5.375 kB / 0.7147 GB, free: 15.34 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.331e-05/0.5865, allocations: 51.22 kB / 0.7148 GB, free: 15.32 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/0.5867, allocations: 13.22 kB / 0.7148 GB, free: 15.32 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008451/0.5875, allocations: 0.6161 MB / 0.7154 GB, free: 14.88 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.5878, allocations: 0.7066 MB / 0.7161 GB, free: 14.18 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001199/0.5879, allocations: 23.3 kB / 0.7161 GB, free: 14.17 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.819e-05/0.588, allocations: 15.5 kB / 0.7161 GB, free: 14.16 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.588, allocations: 4 kB / 0.7161 GB, free: 14.16 MB / 0.545 GB Notification: Performance of Templates: time 0.003365/0.5914, allocations: 1.002 MB / 0.7171 GB, free: 14.07 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.makefile Environment - environmentSimulation: (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 & ./IDEAS_IDEAS.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: