Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck") translateModel(IBPSA.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 174.8 kB / 16.08 MB, free: 5.73 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4531/0.4531, allocations: 89.07 MB / 105.9 MB, free: 12.45 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.232/1.232, allocations: 225.7 MB / 353.2 MB, free: 1.105 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007593/0.0007594, allocations: 96.84 kB / 425.4 MB, free: 6.609 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002924/0.0002925, allocations: 8 kB / 0.4955 GB, free: 4.516 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2671, allocations: 71.33 MB / 0.5652 GB, free: 42.32 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirDerivativeCheck): time 0.001068/0.2682, allocations: 1.049 MB / 0.5662 GB, free: 41.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.3752/0.6434, allocations: 137.1 MB / 0.7001 GB, free: 3.836 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.908e-05/0.6435, allocations: 0 / 0.7001 GB, free: 3.836 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.327e-05/0.6435, allocations: 5.156 kB / 0.7001 GB, free: 3.836 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 9.095e-05/0.6436, allocations: 15.89 kB / 0.7001 GB, free: 3.836 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008985/0.6445, allocations: 298.7 kB / 0.7004 GB, free: 3.824 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.6446, allocations: 85.61 kB / 0.7005 GB, free: 3.824 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.654e-05/0.6447, allocations: 2.75 kB / 0.7005 GB, free: 3.824 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.648e-05/0.6447, allocations: 37.81 kB / 0.7005 GB, free: 3.824 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.374e-05/0.6448, allocations: 30.38 kB / 0.7005 GB, free: 3.824 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.6448, allocations: 3.938 kB / 0.7006 GB, free: 3.824 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008546/0.6457, allocations: 0.4896 MB / 0.701 GB, free: 3.812 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.705e-05/0.6458, allocations: 16.67 kB / 0.701 GB, free: 3.812 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.555e-05/0.6458, allocations: 58.48 kB / 0.7011 GB, free: 3.781 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003466/0.6462, allocations: 180.6 kB / 0.7013 GB, free: 3.77 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.6462, allocations: 2.812 kB / 0.7013 GB, free: 3.77 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.684e-06/0.6462, allocations: 0 / 0.7013 GB, free: 3.77 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.6462, allocations: 0 / 0.7013 GB, free: 3.77 MB / 0.4948 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.0004012/0.6466, allocations: 380.1 kB / 0.7016 GB, free: 3.391 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.6467, allocations: 9.531 kB / 0.7016 GB, free: 3.391 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003939/0.6471, allocations: 39.38 kB / 0.7017 GB, free: 3.387 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.934e-05/0.6472, allocations: 165.3 kB / 0.7018 GB, free: 3.191 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.6472, allocations: 2.781 kB / 0.7018 GB, free: 3.191 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.142e-05/0.6472, allocations: 13.38 kB / 0.7019 GB, free: 3.188 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.6474, allocations: 78.17 kB / 0.7019 GB, free: 3.156 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.6474, allocations: 0 / 0.7019 GB, free: 3.156 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.6474, allocations: 7.016 kB / 0.7019 GB, free: 3.156 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.6474, allocations: 4 kB / 0.7019 GB, free: 3.152 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.492e-05/0.6475, allocations: 47.42 kB / 0.702 GB, free: 3.152 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001466/0.6477, allocations: 190.9 kB / 0.7022 GB, free: 2.957 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.6478, allocations: 85.81 kB / 0.7023 GB, free: 2.934 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.247e-05/0.6479, allocations: 35.53 kB / 0.7023 GB, free: 2.922 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001786/0.6481, allocations: 179.9 kB / 0.7025 GB, free: 2.73 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.6481, allocations: 40.7 kB / 0.7025 GB, free: 2.691 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 1.253e-06/0.6481, allocations: 0 / 0.7025 GB, free: 2.691 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19): time 0.001191/0.6493, allocations: 0.5401 MB / 0.703 GB, free: 18.43 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.6493, allocations: 58.09 kB / 0.7031 GB, free: 18.36 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.548e-05/0.6494, allocations: 98.48 kB / 0.7032 GB, free: 18.27 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.6494, allocations: 29.52 kB / 0.7032 GB, free: 18.23 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.491e-05/0.6495, allocations: 81.03 kB / 0.7033 GB, free: 18.15 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.487e-05/0.6495, allocations: 67.92 kB / 0.7033 GB, free: 18.11 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.542e-06/0.6495, allocations: 3.812 kB / 0.7033 GB, free: 18.11 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.6496, allocations: 329.1 kB / 0.7037 GB, free: 17.79 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.474e-05/0.6497, allocations: 38.36 kB / 0.7037 GB, free: 17.79 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.6498, allocations: 69.7 kB / 0.7038 GB, free: 17.75 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.65, allocations: 109.3 kB / 0.7039 GB, free: 17.72 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.65, allocations: 0 / 0.7039 GB, free: 17.72 MB / 0.5105 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002516/0.6503, allocations: 161.9 kB / 0.704 GB, free: 17.68 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.6503, allocations: 11.05 kB / 0.704 GB, free: 17.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.6503, allocations: 0 / 0.704 GB, free: 17.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.6503, allocations: 3 kB / 0.704 GB, free: 17.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.6505, allocations: 38.44 kB / 0.7041 GB, free: 17.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.6505, allocations: 2.797 kB / 0.7041 GB, free: 17.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.211e-05/0.6506, allocations: 6.219 kB / 0.7041 GB, free: 17.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.6506, allocations: 11.8 kB / 0.7041 GB, free: 17.68 MB / 0.5105 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.511e-05/0.6507, allocations: 123.6 kB / 0.7042 GB, free: 17.56 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.931e-05/0.6507, allocations: 9.391 kB / 0.7042 GB, free: 17.55 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.794e-05/0.6507, allocations: 20.47 kB / 0.7042 GB, free: 17.55 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.6508, allocations: 6.531 kB / 0.7042 GB, free: 17.54 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.6508, allocations: 0.6562 kB / 0.7042 GB, free: 17.54 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.6508, allocations: 4.734 kB / 0.7043 GB, free: 17.54 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.6509, allocations: 201.9 kB / 0.7044 GB, free: 17.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.651, allocations: 0 / 0.7044 GB, free: 17.35 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/0.6511, allocations: 39.28 kB / 0.7045 GB, free: 17.35 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.6512, allocations: 0 / 0.7045 GB, free: 17.35 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.6512, allocations: 1.953 kB / 0.7045 GB, free: 17.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.6512, allocations: 2.969 kB / 0.7045 GB, free: 17.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.6512, allocations: 4 kB / 0.7045 GB, free: 17.34 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/0.6515, allocations: 208.2 kB / 0.7047 GB, free: 17.27 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.641e-05/0.6516, allocations: 93.25 kB / 0.7048 GB, free: 17.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.6516, allocations: 4.219 kB / 0.7048 GB, free: 17.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.6517, allocations: 8.797 kB / 0.7048 GB, free: 17.17 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.298e-05/0.6517, allocations: 8.656 kB / 0.7048 GB, free: 17.17 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.6517, allocations: 11.48 kB / 0.7048 GB, free: 17.17 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.016e-05/0.6518, allocations: 80.53 kB / 0.7049 GB, free: 17.09 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6518, allocations: 0 / 0.7049 GB, free: 17.09 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000209/0.652, allocations: 32.66 kB / 0.7049 GB, free: 17.09 MB / 0.5105 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.0001228/0.6521, allocations: 110.1 kB / 0.705 GB, free: 17 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000205/0.6523, allocations: 111.9 kB / 0.7051 GB, free: 17 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.6523, allocations: 3.484 kB / 0.7051 GB, free: 17 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.855e-05/0.6524, allocations: 57.39 kB / 0.7052 GB, free: 16.99 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/0.6526, allocations: 18.77 kB / 0.7052 GB, free: 16.99 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000835/0.6535, allocations: 0.6164 MB / 0.7058 GB, free: 16.56 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.6538, allocations: 0.7034 MB / 0.7065 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001268/0.6539, allocations: 19.02 kB / 0.7065 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.407e-05/0.654, allocations: 15.41 kB / 0.7065 GB, free: 15.85 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/0.654, allocations: 0 / 0.7065 GB, free: 15.85 MB / 0.5105 GB Notification: Performance of Templates: time 0.003056/0.657, allocations: 1.065 MB / 0.7076 GB, free: 15.77 MB / 0.5105 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe 2>&1)