Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Media.Examples.AirDerivativeCheck.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001387/0.001391, allocations: 189.4 kB / 15.77 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.7426/0.7426, allocations: 82.92 MB / 99.41 MB, free: 3.281 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.27/2.27, allocations: 205.4 MB / 325.4 MB, free: 3.332 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001015/0.001016, allocations: 98.28 kB / 393.6 MB, free: 15.1 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007068/0.0007073, allocations: 12 kB / 471.5 MB, free: 66.55 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09271/0.09347, allocations: 67.45 MB / 0.5263 GB, free: 15.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirDerivativeCheck): time 0.001528/0.09504, allocations: 1.012 MB / 0.5273 GB, free: 14.05 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.5144/0.6095, allocations: 125.2 MB / 0.6496 GB, free: 9.973 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.975e-05/0.6096, allocations: 0 / 0.6496 GB, free: 9.973 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 4.999e-05/0.6097, allocations: 2.844 kB / 0.6496 GB, free: 9.973 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.38e-05/0.6098, allocations: 11.95 kB / 0.6496 GB, free: 9.961 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001493/0.6113, allocations: 241 kB / 0.6498 GB, free: 9.773 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.6115, allocations: 39.27 kB / 0.6498 GB, free: 9.754 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.035e-05/0.6115, allocations: 7.203 kB / 0.6498 GB, free: 9.75 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.537e-05/0.6116, allocations: 24.77 kB / 0.6499 GB, free: 9.738 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.6118, allocations: 30.42 kB / 0.6499 GB, free: 9.719 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.738e-05/0.6118, allocations: 4.688 kB / 0.6499 GB, free: 9.719 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001378/0.6132, allocations: 282.1 kB / 0.6502 GB, free: 9.59 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 7.326e-05/0.6133, allocations: 17.31 kB / 0.6502 GB, free: 9.578 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7.063e-05/0.6134, allocations: 35.08 kB / 0.6502 GB, free: 9.543 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004339/0.6139, allocations: 109.6 kB / 0.6503 GB, free: 9.488 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.491e-06/0.6139, allocations: 0 / 0.6503 GB, free: 9.488 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.647e-06/0.6139, allocations: 0 / 0.6503 GB, free: 9.488 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.719e-06/0.614, allocations: 0 / 0.6503 GB, free: 9.488 MB / 442.7 MB 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.0007607/0.6147, allocations: 371.1 kB / 0.6507 GB, free: 9.102 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.6148, allocations: 14.31 kB / 0.6507 GB, free: 9.098 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009306/0.6158, allocations: 34.45 kB / 0.6507 GB, free: 9.082 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.616, allocations: 160.7 kB / 0.6509 GB, free: 8.887 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.616, allocations: 3.094 kB / 0.6509 GB, free: 8.887 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.011e-05/0.6161, allocations: 15.56 kB / 0.6509 GB, free: 8.879 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003489/0.6165, allocations: 82.44 kB / 0.651 GB, free: 8.812 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.6165, allocations: 6.375 kB / 0.651 GB, free: 8.809 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.18e-05/0.6166, allocations: 4 kB / 0.651 GB, free: 8.805 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.773e-06/0.6166, allocations: 2.5 kB / 0.651 GB, free: 8.805 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002042/0.6168, allocations: 46.17 kB / 0.651 GB, free: 8.785 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004058/0.6173, allocations: 178.7 kB / 0.6512 GB, free: 8.574 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003783/0.6177, allocations: 89.5 kB / 0.6513 GB, free: 8.523 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.406e-05/0.6178, allocations: 10.47 kB / 0.6513 GB, free: 8.516 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.201e-05/0.6179, allocations: 36.2 kB / 0.6513 GB, free: 8.473 MB / 442.7 MB Notification: Performance of pre-optimization done (n=12): time 3.865e-06/0.6179, allocations: 7.219 kB / 0.6513 GB, free: 8.469 MB / 442.7 MB Notification: Performance of matching and sorting (n=19): time 0.00286/0.6208, allocations: 0.5392 MB / 0.6519 GB, free: 8.066 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.54e-05/0.6209, allocations: 57.84 kB / 0.6519 GB, free: 8 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.621, allocations: 100.3 kB / 0.652 GB, free: 7.895 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.174e-05/0.6211, allocations: 32.17 kB / 0.6521 GB, free: 7.859 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.186e-05/0.6212, allocations: 80.52 kB / 0.6521 GB, free: 7.777 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/0.6213, allocations: 75.28 kB / 0.6522 GB, free: 7.711 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.781e-05/0.6214, allocations: 1.812 kB / 0.6522 GB, free: 7.711 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002472/0.6216, allocations: 321.7 kB / 0.6525 GB, free: 7.391 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.6218, allocations: 38.45 kB / 0.6525 GB, free: 7.371 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002372/0.6221, allocations: 76.75 kB / 0.6526 GB, free: 7.309 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002152/0.6223, allocations: 47.3 kB / 0.6527 GB, free: 7.289 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.383e-06/0.6224, allocations: 6.812 kB / 0.6527 GB, free: 7.285 MB / 442.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006155/0.623, allocations: 152.2 kB / 0.6528 GB, free: 7.199 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/0.623, allocations: 9.453 kB / 0.6528 GB, free: 7.195 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.6231, allocations: 80 / 0.6528 GB, free: 7.195 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.6231, allocations: 1.844 kB / 0.6528 GB, free: 7.195 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003969/0.6235, allocations: 39.64 kB / 0.6529 GB, free: 7.188 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.745e-05/0.6236, allocations: 6.016 kB / 0.6529 GB, free: 7.184 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.6237, allocations: 10.84 kB / 0.6529 GB, free: 7.176 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.816e-05/0.6238, allocations: 5.781 kB / 0.6529 GB, free: 7.176 MB / 442.7 MB 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.0002106/0.624, allocations: 122.2 kB / 0.653 GB, free: 7.051 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.294e-05/0.6241, allocations: 9.625 kB / 0.653 GB, free: 7.047 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.752e-05/0.6242, allocations: 20.39 kB / 0.653 GB, free: 7.027 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.869e-06/0.6242, allocations: 2.594 kB / 0.653 GB, free: 7.027 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/0.6242, allocations: 3.984 kB / 0.653 GB, free: 7.023 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.123e-06/0.6243, allocations: 0 / 0.653 GB, free: 7.023 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003812/0.6247, allocations: 187.6 kB / 0.6532 GB, free: 6.809 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.456e-06/0.6247, allocations: 6.844 kB / 0.6532 GB, free: 6.805 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004821/0.6252, allocations: 42.67 kB / 0.6533 GB, free: 6.793 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.878e-06/0.6252, allocations: 0 / 0.6533 GB, free: 6.793 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.851e-05/0.6253, allocations: 0 / 0.6533 GB, free: 6.793 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.159e-05/0.6253, allocations: 6.547 kB / 0.6533 GB, free: 6.789 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.6253, allocations: 0 / 0.6533 GB, free: 6.789 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007551/0.6261, allocations: 206.5 kB / 0.6535 GB, free: 6.652 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001727/0.6263, allocations: 88.94 kB / 0.6536 GB, free: 6.555 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.46e-05/0.6264, allocations: 11 kB / 0.6536 GB, free: 6.547 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002723/0.6267, allocations: 8.469 kB / 0.6536 GB, free: 6.543 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.211e-05/0.6267, allocations: 13.75 kB / 0.6536 GB, free: 6.535 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-05/0.6268, allocations: 10.7 kB / 0.6536 GB, free: 6.527 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.584e-05/0.6269, allocations: 77.62 kB / 0.6537 GB, free: 6.453 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.034e-06/0.6269, allocations: 0 / 0.6537 GB, free: 6.453 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006574/0.6276, allocations: 27.31 kB / 0.6537 GB, free: 6.449 MB / 442.7 MB 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.0002501/0.6278, allocations: 113.3 kB / 0.6538 GB, free: 6.348 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004587/0.6283, allocations: 98.42 kB / 0.6539 GB, free: 6.312 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.077e-06/0.6284, allocations: 0 / 0.6539 GB, free: 6.312 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001946/0.6286, allocations: 54.19 kB / 0.6539 GB, free: 6.293 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003864/0.629, allocations: 18.7 kB / 0.654 GB, free: 6.285 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/0.631, allocations: 0.6199 MB / 0.6546 GB, free: 5.762 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005694/0.6316, allocations: 0.698 MB / 0.6553 GB, free: 5.059 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004545/0.6321, allocations: 26.59 kB / 0.6553 GB, free: 5.043 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.6322, allocations: 17.78 kB / 0.6553 GB, free: 5.035 MB / 442.7 MB Notification: Performance of SimCode: time 2.398e-06/0.6322, allocations: 0 / 0.6553 GB, free: 5.035 MB / 442.7 MB Notification: Performance of Templates: time 0.005907/0.6382, allocations: 1.007 MB / 0.6563 GB, free: 4.531 MB / 442.7 MB