Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h") translateModel(BuildingSystems.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8128/0.8128, allocations: 143.8 MB / 159.1 MB, free: 6.496 MB / 122.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.001409/0.001409, allocations: 179.3 kB / 192 MB, free: 6.738 MB / 154.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.518/1.518, allocations: 225.7 MB / 450.4 MB, free: 5.016 MB / 330.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.0008122/0.0008122, allocations: 110.5 kB / 0.5211 GB, free: 1.676 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001755/0.001755, allocations: 274 kB / 0.6025 GB, free: 49.31 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006556/0.0006557, allocations: 18.81 kB / 0.6948 GB, free: 59.18 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.1997, allocations: 82.45 MB / 0.7753 GB, free: 14.39 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_h): time 0.5449/0.7447, allocations: 166.1 MB / 0.9375 GB, free: 8.008 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01075/0.7555, allocations: 9.705 MB / 0.947 GB, free: 5.57 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001029/0.7566, allocations: 14.78 kB / 0.947 GB, free: 5.562 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001035/0.7577, allocations: 238.3 kB / 0.9472 GB, free: 5.473 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001105/0.7588, allocations: 292.5 kB / 0.9475 GB, free: 5.348 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001177/0.76, allocations: 334.1 kB / 0.9478 GB, free: 5.262 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001781/0.7618, allocations: 1.619 MB / 0.9494 GB, free: 4.77 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008948/0.7627, allocations: 491.5 kB / 0.9499 GB, free: 4.613 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005233/0.7679, allocations: 1.927 MB / 0.9518 GB, free: 3.887 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006662/0.7686, allocations: 353.3 kB / 0.9521 GB, free: 3.809 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 8.812e-05/0.7687, allocations: 19.28 kB / 0.9521 GB, free: 3.809 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003015/0.769, allocations: 60.52 kB / 0.9522 GB, free: 3.801 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002997/0.7693, allocations: 229.9 kB / 0.9524 GB, free: 3.73 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004186/0.7698, allocations: 276.1 kB / 0.9526 GB, free: 3.688 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0006403/0.7704, allocations: 0.5916 MB / 0.9532 GB, free: 3.445 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.7704, allocations: 0 / 0.9532 GB, free: 3.445 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7704, allocations: 2.875 kB / 0.9532 GB, free: 3.445 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.176e-05/0.7705, allocations: 0 / 0.9532 GB, free: 3.445 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001017/0.7715, allocations: 0.7118 MB / 0.9539 GB, free: 2.867 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.7715, allocations: 9.188 kB / 0.9539 GB, free: 2.867 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/0.7717, allocations: 74.62 kB / 0.954 GB, free: 2.828 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005701/0.7722, allocations: 413.2 kB / 0.9544 GB, free: 2.52 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.588e-05/0.7723, allocations: 36.88 kB / 0.9544 GB, free: 2.516 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.224e-05/0.7724, allocations: 59.23 kB / 0.9545 GB, free: 2.512 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009911/0.7734, allocations: 0.7051 MB / 0.9552 GB, free: 2.137 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.7734, allocations: 3.938 kB / 0.9552 GB, free: 2.133 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.156e-05/0.7734, allocations: 26.39 kB / 0.9552 GB, free: 2.133 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.922e-05/0.7735, allocations: 33.08 kB / 0.9552 GB, free: 2.125 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006238/0.7741, allocations: 385.6 kB / 0.9556 GB, free: 2.035 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0026/0.7767, allocations: 3.223 MB / 0.9588 GB, free: 15.32 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002609/0.777, allocations: 230.5 kB / 0.959 GB, free: 15.05 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/0.7772, allocations: 137 kB / 0.9591 GB, free: 14.95 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.7772, allocations: 2.656 kB / 0.9591 GB, free: 14.95 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.7773, allocations: 44.44 kB / 0.9591 GB, free: 14.91 MB / 0.573 GB Notification: Performance of pre-optimization done (n=10): time 2.374e-06/0.7773, allocations: 3.938 kB / 0.9592 GB, free: 14.9 MB / 0.573 GB Notification: Performance of matching and sorting (n=10): time 0.0006565/0.7779, allocations: 265.1 kB / 0.9594 GB, free: 14.79 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/0.7781, allocations: 296.8 kB / 0.9597 GB, free: 14.44 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000647/0.7787, allocations: 0.6748 MB / 0.9603 GB, free: 14.21 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.7788, allocations: 36.27 kB / 0.9604 GB, free: 14.18 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/0.7789, allocations: 264.3 kB / 0.9606 GB, free: 14.06 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.779, allocations: 37.95 kB / 0.9607 GB, free: 14.04 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-06/0.779, allocations: 3.25 kB / 0.9607 GB, free: 14.04 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.7791, allocations: 368.9 kB / 0.961 GB, free: 13.7 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.7792, allocations: 42.12 kB / 0.9611 GB, free: 13.7 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.7794, allocations: 106.2 kB / 0.9612 GB, free: 13.62 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002232/0.7796, allocations: 131.3 kB / 0.9613 GB, free: 13.55 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.7796, allocations: 0 / 0.9613 GB, free: 13.55 MB / 0.573 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003036/0.78, allocations: 201.3 kB / 0.9615 GB, free: 13.46 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.78, allocations: 5.875 kB / 0.9615 GB, free: 13.46 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.78, allocations: 3.938 kB / 0.9615 GB, free: 13.46 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.78, allocations: 7.5 kB / 0.9615 GB, free: 13.45 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/0.7802, allocations: 54.3 kB / 0.9616 GB, free: 13.44 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.7802, allocations: 4.375 kB / 0.9616 GB, free: 13.44 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002374/0.7805, allocations: 67.45 kB / 0.9616 GB, free: 13.39 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.427e-05/0.7805, allocations: 10.06 kB / 0.9616 GB, free: 13.39 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (10): * Single equations (assignments): 10 * 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.0001849/0.7807, allocations: 201 kB / 0.9618 GB, free: 13.26 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001856/0.7809, allocations: 54.66 kB / 0.9619 GB, free: 13.23 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.458e-05/0.781, allocations: 61.17 kB / 0.9619 GB, free: 13.21 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.781, allocations: 8.609 kB / 0.9619 GB, free: 13.2 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.781, allocations: 3.312 kB / 0.9619 GB, free: 13.2 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.781, allocations: 6.922 kB / 0.962 GB, free: 13.2 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.7822, allocations: 1.305 MB / 0.9632 GB, free: 12.09 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.7822, allocations: 3.125 kB / 0.9632 GB, free: 12.09 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.7824, allocations: 47.42 kB / 0.9633 GB, free: 12.08 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.7824, allocations: 5.938 kB / 0.9633 GB, free: 12.08 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.7825, allocations: 6.031 kB / 0.9633 GB, free: 12.08 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.7825, allocations: 10.53 kB / 0.9633 GB, free: 12.07 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.7825, allocations: 2.688 kB / 0.9633 GB, free: 12.07 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003563/0.7828, allocations: 350.9 kB / 0.9636 GB, free: 11.8 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.783, allocations: 143.6 kB / 0.9638 GB, free: 11.67 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.432e-05/0.783, allocations: 11.61 kB / 0.9638 GB, free: 11.67 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.7832, allocations: 17.27 kB / 0.9638 GB, free: 11.66 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/0.7833, allocations: 19.98 kB / 0.9638 GB, free: 11.65 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.7833, allocations: 6.156 kB / 0.9638 GB, free: 11.65 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0004392/0.7837, allocations: 0.4924 MB / 0.9643 GB, free: 11.48 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7837, allocations: 0 / 0.9643 GB, free: 11.48 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0003434/0.7841, allocations: 85.94 kB / 0.9644 GB, free: 11.47 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (10): * Single equations (assignments): 10 * 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.0002929/0.7844, allocations: 151.1 kB / 0.9645 GB, free: 11.36 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0002707/0.7847, allocations: 112.7 kB / 0.9646 GB, free: 11.33 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.7847, allocations: 2.844 kB / 0.9646 GB, free: 11.33 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.7848, allocations: 65.06 kB / 0.9647 GB, free: 11.31 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/0.7861, allocations: 274.9 kB / 0.965 GB, free: 11.23 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.7873, allocations: 1.031 MB / 0.966 GB, free: 10.54 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004211/0.7877, allocations: 0.905 MB / 0.9669 GB, free: 9.75 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002223/0.7879, allocations: 104 kB / 0.967 GB, free: 9.711 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.426e-05/0.788, allocations: 33.97 kB / 0.967 GB, free: 9.703 MB / 0.573 GB Notification: Performance of SimCode: time 2.2e-07/0.788, allocations: 3.344 kB / 0.967 GB, free: 9.703 MB / 0.573 GB Notification: Performance of Templates: time 0.01352/0.8015, allocations: 8.008 MB / 0.9748 GB, free: 5.836 MB / 0.573 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)