Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck") translateModel(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7061/0.7061, allocations: 131 MB / 146.3 MB, free: 1.324 MB / 106.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 192.2 kB / 176.4 MB, free: 4.887 MB / 138.7 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.339/1.339, allocations: 225.7 MB / 431.9 MB, free: 8.797 MB / 314.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.0007658/0.0007658, allocations: 93.33 kB / 0.5003 GB, free: 9.906 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002852/0.0002853, allocations: 15.98 kB / 0.5885 GB, free: 72.69 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1401, allocations: 79.59 MB / 0.6662 GB, free: 8.934 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck): time 0.001374/0.1415, allocations: 1.052 MB / 0.6673 GB, free: 7.867 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.4066/0.5481, allocations: 137.1 MB / 0.8012 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.128e-05/0.5482, allocations: 0 / 0.8012 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 4.366e-05/0.5483, allocations: 3.938 kB / 0.8012 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001291/0.5484, allocations: 25 kB / 0.8012 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.5496, allocations: 300.7 kB / 0.8015 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.5498, allocations: 81.55 kB / 0.8016 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.531e-05/0.5498, allocations: 10.94 kB / 0.8016 GB, free: 12.58 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.778e-05/0.5499, allocations: 24.2 kB / 0.8016 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.55, allocations: 35.08 kB / 0.8016 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.5501, allocations: 9.062 kB / 0.8016 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00123/0.5513, allocations: 492.9 kB / 0.8021 GB, free: 12.28 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 6.664e-05/0.5514, allocations: 18.22 kB / 0.8021 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 7.257e-05/0.5515, allocations: 52.42 kB / 0.8022 GB, free: 12.22 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0004385/0.5519, allocations: 186.5 kB / 0.8024 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.552, allocations: 0 / 0.8024 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.522e-06/0.552, allocations: 4 kB / 0.8024 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.552, allocations: 0 / 0.8024 GB, free: 12.12 MB / 0.5105 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.0004998/0.5525, allocations: 381.9 kB / 0.8027 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.5526, allocations: 11.62 kB / 0.8027 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005504/0.5531, allocations: 34.73 kB / 0.8028 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.5533, allocations: 160.6 kB / 0.8029 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.5533, allocations: 10.75 kB / 0.8029 GB, free: 11.51 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.532e-05/0.5533, allocations: 17.03 kB / 0.8029 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002112/0.5536, allocations: 78.3 kB / 0.803 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.5536, allocations: 0 / 0.803 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/0.5536, allocations: 2.906 kB / 0.803 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.5536, allocations: 3.938 kB / 0.803 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.5538, allocations: 44.61 kB / 0.8031 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002583/0.554, allocations: 190.1 kB / 0.8032 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.5543, allocations: 94.5 kB / 0.8033 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.013e-05/0.5544, allocations: 34.25 kB / 0.8034 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002929/0.5547, allocations: 175.8 kB / 0.8035 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.5547, allocations: 34.56 kB / 0.8036 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=12): time 1.773e-06/0.5548, allocations: 2.625 kB / 0.8036 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=19): time 0.001781/0.5565, allocations: 0.5382 MB / 0.8041 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.5566, allocations: 54.34 kB / 0.8042 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.481e-05/0.5567, allocations: 96.64 kB / 0.8042 GB, free: 10.31 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.5567, allocations: 33.83 kB / 0.8043 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.515e-05/0.5568, allocations: 86.92 kB / 0.8044 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.002e-05/0.5569, allocations: 64.72 kB / 0.8044 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.187e-05/0.5569, allocations: 7.219 kB / 0.8044 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.557, allocations: 322.8 kB / 0.8047 GB, free: 9.801 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.921e-05/0.5572, allocations: 37.64 kB / 0.8048 GB, free: 9.785 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.5573, allocations: 65.89 kB / 0.8048 GB, free: 9.734 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002344/0.5575, allocations: 120.6 kB / 0.8049 GB, free: 9.656 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.5576, allocations: 2.844 kB / 0.805 GB, free: 9.656 MB / 0.5105 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000342/0.5579, allocations: 150.3 kB / 0.8051 GB, free: 9.57 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.5579, allocations: 5.781 kB / 0.8051 GB, free: 9.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.558, allocations: 0 / 0.8051 GB, free: 9.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.558, allocations: 5.094 kB / 0.8051 GB, free: 9.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002556/0.5583, allocations: 42.39 kB / 0.8051 GB, free: 9.559 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.5583, allocations: 4.922 kB / 0.8052 GB, free: 9.555 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.213e-05/0.5584, allocations: 6.5 kB / 0.8052 GB, free: 9.551 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.5584, allocations: 13.41 kB / 0.8052 GB, free: 9.543 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 0.0001265/0.5586, allocations: 119.6 kB / 0.8053 GB, free: 9.422 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.5586, allocations: 13 kB / 0.8053 GB, free: 9.414 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.486e-05/0.5587, allocations: 12.44 kB / 0.8053 GB, free: 9.402 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.5587, allocations: 2.938 kB / 0.8053 GB, free: 9.402 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.5587, allocations: 3.938 kB / 0.8053 GB, free: 9.398 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.5587, allocations: 7.875 kB / 0.8053 GB, free: 9.391 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/0.559, allocations: 196.4 kB / 0.8055 GB, free: 9.168 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.559, allocations: 0 / 0.8055 GB, free: 9.168 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003165/0.5593, allocations: 42.62 kB / 0.8056 GB, free: 9.156 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.5593, allocations: 3.156 kB / 0.8056 GB, free: 9.156 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.5594, allocations: 4 kB / 0.8056 GB, free: 9.152 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.5594, allocations: 0 / 0.8056 GB, free: 9.152 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5594, allocations: 2.844 kB / 0.8056 GB, free: 9.152 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004301/0.5598, allocations: 213.1 kB / 0.8058 GB, free: 9.012 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.681e-05/0.5599, allocations: 89.66 kB / 0.8058 GB, free: 8.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.122e-05/0.56, allocations: 7.031 kB / 0.8059 GB, free: 8.906 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.5602, allocations: 6.844 kB / 0.8059 GB, free: 8.902 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/0.5602, allocations: 13.08 kB / 0.8059 GB, free: 8.895 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/0.5602, allocations: 9.781 kB / 0.8059 GB, free: 8.891 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.716e-05/0.5603, allocations: 78.59 kB / 0.806 GB, free: 8.816 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5603, allocations: 0 / 0.806 GB, free: 8.816 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003748/0.5607, allocations: 29.53 kB / 0.806 GB, free: 8.809 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.0001647/0.5609, allocations: 120.6 kB / 0.8061 GB, free: 8.707 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002652/0.5611, allocations: 100.9 kB / 0.8062 GB, free: 8.672 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.5612, allocations: 0 / 0.8062 GB, free: 8.672 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.5613, allocations: 55.44 kB / 0.8063 GB, free: 8.652 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.5616, allocations: 18.44 kB / 0.8063 GB, free: 8.641 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.5629, allocations: 0.6176 MB / 0.8069 GB, free: 8.117 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.5632, allocations: 0.7033 MB / 0.8076 GB, free: 7.41 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002243/0.5634, allocations: 24.52 kB / 0.8076 GB, free: 7.395 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.577e-05/0.5635, allocations: 16.12 kB / 0.8076 GB, free: 7.387 MB / 0.5105 GB Notification: Performance of SimCode: time 3e-07/0.5635, allocations: 0 / 0.8076 GB, free: 7.387 MB / 0.5105 GB Notification: Performance of Templates: time 0.004695/0.5682, allocations: 1.078 MB / 0.8086 GB, free: 6.84 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe 2>&1)