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.002464/0.002464, allocations: 356.5 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.455/1.455, allocations: 165.8 MB / 182.5 MB, free: 5.477 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.822/3.822, allocations: 410.8 MB / 0.5995 GB, free: 15.11 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001667/0.001667, allocations: 195.1 kB / 0.6662 GB, free: 6.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004651/0.0004654, allocations: 15.94 kB / 0.7423 GB, free: 8.98 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3264, allocations: 67.43 MB / 0.8081 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirDerivativeCheck): time 0.0011/0.3276, allocations: 1.035 MB / 0.8091 GB, free: 27.75 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.5683/0.8959, allocations: 134.4 MB / 0.9403 GB, free: 1.77 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.581e-05/0.8961, allocations: 0 / 0.9403 GB, free: 1.77 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 5.459e-05/0.8962, allocations: 5.031 kB / 0.9404 GB, free: 1.77 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001317/0.8963, allocations: 12.16 kB / 0.9404 GB, free: 1.77 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001357/0.8977, allocations: 229.4 kB / 0.9406 GB, free: 1.766 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.8979, allocations: 70.42 kB / 0.9407 GB, free: 1.766 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.01e-05/0.898, allocations: 4.422 kB / 0.9407 GB, free: 1.766 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.41e-05/0.8981, allocations: 29.5 kB / 0.9407 GB, free: 1.766 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.8983, allocations: 29.5 kB / 0.9407 GB, free: 1.766 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 3.043e-05/0.8983, allocations: 2.875 kB / 0.9407 GB, free: 1.766 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001304/0.8996, allocations: 255.2 kB / 0.941 GB, free: 1.762 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 6.875e-05/0.8997, allocations: 14.47 kB / 0.941 GB, free: 1.762 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 7.131e-05/0.8998, allocations: 34.05 kB / 0.941 GB, free: 1.73 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004006/0.9002, allocations: 110.6 kB / 0.9411 GB, free: 1.719 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.399e-06/0.9003, allocations: 0.6875 kB / 0.9411 GB, free: 1.719 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.923e-06/0.9003, allocations: 0 / 0.9411 GB, free: 1.719 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.471e-05/0.9003, allocations: 4.75 kB / 0.9411 GB, free: 1.715 MB / 474.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.0007008/0.901, allocations: 368.5 kB / 0.9415 GB, free: 1.344 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.9011, allocations: 15.2 kB / 0.9415 GB, free: 1.34 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009175/0.9021, allocations: 35.52 kB / 0.9415 GB, free: 1.34 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.9023, allocations: 166.4 kB / 0.9417 GB, free: 1.141 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.9023, allocations: 3.344 kB / 0.9417 GB, free: 1.141 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.795e-05/0.9024, allocations: 14.12 kB / 0.9417 GB, free: 1.137 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003507/0.9028, allocations: 82.58 kB / 0.9418 GB, free: 1.102 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.9028, allocations: 0 / 0.9418 GB, free: 1.102 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.898e-05/0.9029, allocations: 1.469 kB / 0.9418 GB, free: 1.102 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.9029, allocations: 1.984 kB / 0.9418 GB, free: 1.102 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002263/0.9031, allocations: 50.09 kB / 0.9418 GB, free: 1.098 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003718/0.9035, allocations: 188.8 kB / 0.942 GB, free: 0.9062 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003727/0.9039, allocations: 86.95 kB / 0.9421 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.9041, allocations: 29.27 kB / 0.9421 GB, free: 0.875 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005395/0.9046, allocations: 178.6 kB / 0.9423 GB, free: 16.69 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.421e-05/0.9047, allocations: 43.67 kB / 0.9423 GB, free: 16.64 MB / 490.7 MB Notification: Performance of pre-optimization done (n=12): time 3.614e-06/0.9048, allocations: 0 / 0.9423 GB, free: 16.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=19): time 0.002908/0.9077, allocations: 0.5414 MB / 0.9429 GB, free: 16.38 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.983e-05/0.9078, allocations: 54.06 kB / 0.9429 GB, free: 16.31 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.9079, allocations: 95.23 kB / 0.943 GB, free: 16.21 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.16e-05/0.908, allocations: 31.67 kB / 0.943 GB, free: 16.18 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.044e-05/0.9081, allocations: 82.38 kB / 0.9431 GB, free: 16.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.9082, allocations: 75.5 kB / 0.9432 GB, free: 16.05 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.818e-05/0.9083, allocations: 3.25 kB / 0.9432 GB, free: 16.05 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002282/0.9085, allocations: 319 kB / 0.9435 GB, free: 15.74 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.9087, allocations: 43.5 kB / 0.9435 GB, free: 15.74 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.909, allocations: 70.28 kB / 0.9436 GB, free: 15.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002244/0.9092, allocations: 45.17 kB / 0.9436 GB, free: 15.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.598e-06/0.9092, allocations: 0 / 0.9436 GB, free: 15.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006193/0.9099, allocations: 151.4 kB / 0.9438 GB, free: 15.67 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.492e-05/0.9099, allocations: 14.73 kB / 0.9438 GB, free: 15.67 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.9099, allocations: 0.5938 kB / 0.9438 GB, free: 15.67 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.91, allocations: 4.094 kB / 0.9438 GB, free: 15.67 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003979/0.9104, allocations: 42.38 kB / 0.9438 GB, free: 15.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.9104, allocations: 1.781 kB / 0.9438 GB, free: 15.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.9106, allocations: 5.562 kB / 0.9438 GB, free: 15.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.825e-05/0.9106, allocations: 9.094 kB / 0.9439 GB, free: 15.66 MB / 490.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.0002041/0.9109, allocations: 118.9 kB / 0.944 GB, free: 15.55 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.198e-05/0.9109, allocations: 11.16 kB / 0.944 GB, free: 15.55 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.32e-05/0.911, allocations: 20.81 kB / 0.944 GB, free: 15.54 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.791e-06/0.9111, allocations: 3.156 kB / 0.944 GB, free: 15.54 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.9111, allocations: 8.812 kB / 0.944 GB, free: 15.53 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.081e-06/0.9111, allocations: 0 / 0.944 GB, free: 15.53 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003264/0.9114, allocations: 192.9 kB / 0.9442 GB, free: 15.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.784e-06/0.9115, allocations: 1.781 kB / 0.9442 GB, free: 15.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004866/0.912, allocations: 41.31 kB / 0.9442 GB, free: 15.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.088e-06/0.912, allocations: 0 / 0.9442 GB, free: 15.34 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.084e-05/0.9121, allocations: 10.98 kB / 0.9442 GB, free: 15.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.426e-06/0.9121, allocations: 0 / 0.9442 GB, free: 15.34 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.047e-06/0.9121, allocations: 0 / 0.9442 GB, free: 15.34 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006785/0.9128, allocations: 214.2 kB / 0.9444 GB, free: 15.26 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/0.913, allocations: 88.44 kB / 0.9445 GB, free: 15.16 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.426e-05/0.913, allocations: 8.844 kB / 0.9445 GB, free: 15.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002701/0.9133, allocations: 8.641 kB / 0.9445 GB, free: 15.16 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/0.9134, allocations: 12.36 kB / 0.9446 GB, free: 15.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.239e-05/0.9134, allocations: 3.219 kB / 0.9446 GB, free: 15.16 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.025e-05/0.9135, allocations: 86.12 kB / 0.9446 GB, free: 15.09 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.793e-06/0.9136, allocations: 0 / 0.9446 GB, free: 15.09 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006547/0.9142, allocations: 35.41 kB / 0.9447 GB, free: 15.08 MB / 490.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.000222/0.9145, allocations: 100.3 kB / 0.9448 GB, free: 15 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004347/0.9149, allocations: 100.5 kB / 0.9449 GB, free: 15 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.915, allocations: 0 / 0.9449 GB, free: 15 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001912/0.9152, allocations: 57.58 kB / 0.9449 GB, free: 14.99 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005292/0.9157, allocations: 16.58 kB / 0.9449 GB, free: 14.99 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00172/0.9175, allocations: 0.6151 MB / 0.9455 GB, free: 14.58 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005556/0.9181, allocations: 0.7016 MB / 0.9462 GB, free: 13.88 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003847/0.9185, allocations: 30.67 kB / 0.9463 GB, free: 13.87 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.277e-05/0.9186, allocations: 15.44 kB / 0.9463 GB, free: 13.86 MB / 490.7 MB Notification: Performance of SimCode: time 2.072e-06/0.9186, allocations: 0 / 0.9463 GB, free: 13.86 MB / 490.7 MB Notification: Performance of Templates: time 0.00697/0.9256, allocations: 1.021 MB / 0.9473 GB, free: 13.77 MB / 490.7 MB