Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.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.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7376/0.7376, allocations: 131 MB / 146.3 MB, free: 1.316 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.0009515/0.0009515, allocations: 188.2 kB / 176.4 MB, free: 4.891 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.442/1.442, allocations: 225.7 MB / 431.9 MB, free: 8.723 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.0008487/0.0008487, allocations: 96.94 kB / 0.5003 GB, free: 9.816 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003217/0.0003216, allocations: 8 kB / 0.5885 GB, free: 72.66 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1426, allocations: 79.59 MB / 0.6663 GB, free: 8.906 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001486/0.1441, allocations: 0.99 MB / 0.6672 GB, free: 7.902 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.4041/0.5483, allocations: 120.9 MB / 0.7853 GB, free: 9.434 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.463e-05/0.5483, allocations: 0 / 0.7853 GB, free: 9.434 MB / 0.4949 GB Notification: Performance of NFTyping.typeComponents: time 1.5e-05/0.5484, allocations: 0 / 0.7853 GB, free: 9.434 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 5.079e-05/0.5484, allocations: 6.031 kB / 0.7853 GB, free: 9.43 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002905/0.5487, allocations: 49.67 kB / 0.7854 GB, free: 9.395 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 5.893e-05/0.5488, allocations: 26.58 kB / 0.7854 GB, free: 9.379 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 3.072e-05/0.5488, allocations: 3.094 kB / 0.7854 GB, free: 9.379 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 3.774e-05/0.5489, allocations: 13.58 kB / 0.7854 GB, free: 9.371 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 5.008e-05/0.5489, allocations: 10.52 kB / 0.7854 GB, free: 9.363 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.549, allocations: 2.625 kB / 0.7854 GB, free: 9.363 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 5.816e-05/0.549, allocations: 10.19 kB / 0.7854 GB, free: 9.359 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 1.295e-05/0.549, allocations: 0 / 0.7854 GB, free: 9.359 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 4.536e-05/0.5491, allocations: 38.22 kB / 0.7855 GB, free: 9.32 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 8.798e-05/0.5492, allocations: 28.55 kB / 0.7855 GB, free: 9.312 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.5492, allocations: 4 kB / 0.7855 GB, free: 9.309 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.794e-06/0.5492, allocations: 0 / 0.7855 GB, free: 9.309 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.5492, allocations: 0 / 0.7855 GB, free: 9.309 MB / 0.4949 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003362/0.5495, allocations: 328.1 kB / 0.7858 GB, free: 8.945 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.5496, allocations: 10.88 kB / 0.7858 GB, free: 8.945 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.8e-05/0.5496, allocations: 1.562 kB / 0.7858 GB, free: 8.945 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.5497, allocations: 174.8 kB / 0.786 GB, free: 8.738 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.504e-05/0.5498, allocations: 32.75 kB / 0.786 GB, free: 8.703 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.254e-06/0.5498, allocations: 4.375 kB / 0.786 GB, free: 8.699 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.5499, allocations: 36.09 kB / 0.786 GB, free: 8.664 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.5499, allocations: 3.938 kB / 0.786 GB, free: 8.66 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.55, allocations: 2.344 kB / 0.7861 GB, free: 8.66 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.55, allocations: 0 / 0.7861 GB, free: 8.66 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.136e-05/0.5501, allocations: 16.7 kB / 0.7861 GB, free: 8.652 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001411/0.5502, allocations: 147.8 kB / 0.7862 GB, free: 8.461 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 8.765e-05/0.5503, allocations: 39.7 kB / 0.7862 GB, free: 8.422 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.346e-05/0.5503, allocations: 13.59 kB / 0.7863 GB, free: 8.41 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001549/0.5505, allocations: 89.81 kB / 0.7863 GB, free: 8.312 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.5505, allocations: 40.8 kB / 0.7864 GB, free: 8.266 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.5505, allocations: 0 / 0.7864 GB, free: 8.266 MB / 0.4949 GB Notification: Performance of matching and sorting (n=3): time 0.0001972/0.5507, allocations: 54.31 kB / 0.7864 GB, free: 8.223 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.5508, allocations: 55.41 kB / 0.7865 GB, free: 8.156 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.424e-05/0.5509, allocations: 103.5 kB / 0.7866 GB, free: 8.051 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.5509, allocations: 29.7 kB / 0.7866 GB, free: 8.016 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 2.299e-05/0.5509, allocations: 80.14 kB / 0.7867 GB, free: 7.934 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.5509, allocations: 7.844 kB / 0.7867 GB, free: 7.926 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-06/0.5509, allocations: 0 / 0.7867 GB, free: 7.926 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 9.95e-05/0.551, allocations: 313.4 kB / 0.787 GB, free: 7.613 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.173e-05/0.5511, allocations: 10.61 kB / 0.787 GB, free: 7.605 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.068e-05/0.5511, allocations: 10.16 kB / 0.787 GB, free: 7.602 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.395e-05/0.5512, allocations: 24.12 kB / 0.787 GB, free: 7.586 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.5512, allocations: 0 / 0.787 GB, free: 7.586 MB / 0.4949 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001055/0.5513, allocations: 51.55 kB / 0.7871 GB, free: 7.543 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.5513, allocations: 10.72 kB / 0.7871 GB, free: 7.535 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.5514, allocations: 5.734 kB / 0.7871 GB, free: 7.531 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.5514, allocations: 3.938 kB / 0.7871 GB, free: 7.527 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.956e-05/0.5514, allocations: 8.781 kB / 0.7871 GB, free: 7.527 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.5514, allocations: 4 kB / 0.7871 GB, free: 7.523 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.93e-05/0.5515, allocations: 3.906 kB / 0.7871 GB, free: 7.52 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.5515, allocations: 6.656 kB / 0.7871 GB, free: 7.516 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 6.652e-05/0.5516, allocations: 106.6 kB / 0.7872 GB, free: 7.402 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.04e-05/0.5516, allocations: 10.56 kB / 0.7872 GB, free: 7.395 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001421/0.5517, allocations: 54.27 kB / 0.7873 GB, free: 7.348 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.5517, allocations: 0 / 0.7873 GB, free: 7.348 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.5517, allocations: 0 / 0.7873 GB, free: 7.348 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.5518, allocations: 7.281 kB / 0.7873 GB, free: 7.344 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.015e-05/0.5519, allocations: 152.6 kB / 0.7874 GB, free: 7.148 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.5519, allocations: 0 / 0.7874 GB, free: 7.148 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.257e-05/0.5519, allocations: 13.58 kB / 0.7875 GB, free: 7.141 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.5519, allocations: 3.938 kB / 0.7875 GB, free: 7.137 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.15e-06/0.5519, allocations: 0 / 0.7875 GB, free: 7.137 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.5519, allocations: 0 / 0.7875 GB, free: 7.137 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.5519, allocations: 0 / 0.7875 GB, free: 7.137 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.5521, allocations: 77.25 kB / 0.7875 GB, free: 7.059 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 5.311e-05/0.5521, allocations: 83.97 kB / 0.7876 GB, free: 6.961 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.5521, allocations: 3.938 kB / 0.7876 GB, free: 6.957 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.813e-05/0.5522, allocations: 0.875 kB / 0.7876 GB, free: 6.957 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.83e-05/0.5522, allocations: 3.312 kB / 0.7876 GB, free: 6.957 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-06/0.5522, allocations: 3.984 kB / 0.7876 GB, free: 6.953 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 2.803e-05/0.5522, allocations: 77.78 kB / 0.7877 GB, free: 6.879 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5523, allocations: 0 / 0.7877 GB, free: 6.879 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0001651/0.5524, allocations: 11.94 kB / 0.7877 GB, free: 6.875 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 3 * 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.0001253/0.5526, allocations: 122.9 kB / 0.7878 GB, free: 6.777 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0001132/0.5527, allocations: 15.64 kB / 0.7878 GB, free: 6.773 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.5527, allocations: 0 / 0.7878 GB, free: 6.773 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 4.223e-05/0.5527, allocations: 12 kB / 0.7879 GB, free: 6.77 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001794/0.5529, allocations: 9.234 kB / 0.7879 GB, free: 6.766 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002332/0.5532, allocations: 157.7 kB / 0.788 GB, free: 6.605 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002004/0.5534, allocations: 0.6784 MB / 0.7887 GB, free: 5.906 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 3.507e-05/0.5534, allocations: 3.375 kB / 0.7887 GB, free: 5.906 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.558e-05/0.5534, allocations: 11.44 kB / 0.7887 GB, free: 5.895 MB / 0.4949 GB Notification: Performance of SimCode: time 2.21e-07/0.5534, allocations: 0 / 0.7887 GB, free: 5.895 MB / 0.4949 GB Notification: Performance of Templates: time 0.002068/0.5555, allocations: 496.3 kB / 0.7892 GB, free: 5.641 MB / 0.4949 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)