Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.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) 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 Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.895/1.895, allocations: 306.1 MB / 321.4 MB, free: 10.77 MB / 250.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.000983/0.0009832, allocations: 175 kB / 393.1 MB, free: 4.086 MB / 314.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.464/1.464, allocations: 225.7 MB / 0.6743 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000732/0.0007322, allocations: 98.84 kB / 0.7935 GB, free: 39.89 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003969/0.000397, allocations: 12 kB / 0.9224 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5695/0.5699, allocations: 121.3 MB / 1.041 GB, free: 57.93 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1623/0.7323, allocations: 157 MB / 1.194 GB, free: 4.402 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00767/0.74, allocations: 7.428 MB / 1.201 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003725/0.7404, allocations: 7.938 kB / 1.201 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005175/0.7409, allocations: 133.4 kB / 1.202 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001872/0.7428, allocations: 0.7896 MB / 1.202 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008559/0.7437, allocations: 288.4 kB / 1.203 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001043/0.7447, allocations: 1.014 MB / 1.204 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003822/0.7451, allocations: 227.3 kB / 1.204 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001089/0.7462, allocations: 0.514 MB / 1.204 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003977/0.7466, allocations: 277 kB / 1.205 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.981e-05/0.7467, allocations: 12 kB / 1.205 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007527/0.7475, allocations: 393 kB / 1.205 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.7476, allocations: 90.11 kB / 1.205 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001833/0.7478, allocations: 177.5 kB / 1.205 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006647/0.7485, allocations: 482.4 kB / 1.206 GB, free: 9.773 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.7485, allocations: 0 / 1.206 GB, free: 9.773 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7485, allocations: 0 / 1.206 GB, free: 9.773 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.7485, allocations: 4 kB / 1.206 GB, free: 9.77 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.000797/0.7493, allocations: 0.5552 MB / 1.206 GB, free: 9.199 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.7493, allocations: 8.734 kB / 1.206 GB, free: 9.191 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002944/0.7496, allocations: 68.09 kB / 1.206 GB, free: 9.133 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003692/0.75, allocations: 307.9 kB / 1.207 GB, free: 8.824 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/0.7501, allocations: 16.56 kB / 1.207 GB, free: 8.805 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.089e-05/0.7501, allocations: 32 kB / 1.207 GB, free: 8.773 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005552/0.7507, allocations: 320.6 kB / 1.207 GB, free: 8.484 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.7507, allocations: 4 kB / 1.207 GB, free: 8.48 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/0.7507, allocations: 12 kB / 1.207 GB, free: 8.469 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.7507, allocations: 4 kB / 1.207 GB, free: 8.465 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004226/0.7512, allocations: 213.4 kB / 1.207 GB, free: 8.289 MB / 0.7761 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001464/0.7526, allocations: 1.54 MB / 1.209 GB, free: 6.754 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002652/0.7529, allocations: 122.4 kB / 1.209 GB, free: 6.641 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001835/0.7531, allocations: 96.19 kB / 1.209 GB, free: 6.559 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000622/0.7537, allocations: 313.1 kB / 1.209 GB, free: 6.219 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.7538, allocations: 39.36 kB / 1.209 GB, free: 6.172 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 2.735e-06/0.7538, allocations: 0 / 1.209 GB, free: 6.172 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.0007285/0.7545, allocations: 296.9 kB / 1.21 GB, free: 5.914 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.7546, allocations: 51.41 kB / 1.21 GB, free: 5.852 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003229/0.7549, allocations: 311.5 kB / 1.21 GB, free: 5.574 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.7549, allocations: 30.41 kB / 1.21 GB, free: 5.539 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.7551, allocations: 180.3 kB / 1.21 GB, free: 5.371 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.994e-05/0.7551, allocations: 43.34 kB / 1.21 GB, free: 5.332 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.039e-05/0.7551, allocations: 4 kB / 1.21 GB, free: 5.328 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.7552, allocations: 347.2 kB / 1.21 GB, free: 4.988 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.7554, allocations: 60.19 kB / 1.21 GB, free: 4.941 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.7556, allocations: 120.7 kB / 1.211 GB, free: 4.82 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003327/0.756, allocations: 195.9 kB / 1.211 GB, free: 4.633 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.756, allocations: 0 / 1.211 GB, free: 4.633 MB / 0.7761 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004202/0.7564, allocations: 227.6 kB / 1.211 GB, free: 4.43 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.7564, allocations: 4 kB / 1.211 GB, free: 4.426 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.7564, allocations: 4 kB / 1.211 GB, free: 4.422 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.7564, allocations: 4.031 kB / 1.211 GB, free: 4.418 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.7566, allocations: 33.39 kB / 1.211 GB, free: 4.391 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.7566, allocations: 4.75 kB / 1.211 GB, free: 4.387 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.7569, allocations: 45.25 kB / 1.211 GB, free: 4.348 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/0.7569, allocations: 8.75 kB / 1.211 GB, free: 4.34 MB / 0.7761 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 (17): * Single equations (assignments): 17 * 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.0001314/0.757, allocations: 149.9 kB / 1.211 GB, free: 4.188 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.171e-05/0.7571, allocations: 24.42 kB / 1.211 GB, free: 4.164 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004513/0.7575, allocations: 222.6 kB / 1.211 GB, free: 3.973 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.7576, allocations: 4 kB / 1.211 GB, free: 3.969 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.7576, allocations: 0 / 1.211 GB, free: 3.969 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.7576, allocations: 0.8906 kB / 1.211 GB, free: 3.969 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009901/0.7586, allocations: 0.6954 MB / 1.212 GB, free: 3.289 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.7586, allocations: 4.219 kB / 1.212 GB, free: 3.285 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.7587, allocations: 28.69 kB / 1.212 GB, free: 3.262 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.7587, allocations: 4.516 kB / 1.212 GB, free: 3.258 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.7588, allocations: 11.88 kB / 1.212 GB, free: 3.246 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.7588, allocations: 4.609 kB / 1.212 GB, free: 3.242 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.7588, allocations: 4 kB / 1.212 GB, free: 3.238 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00042/0.7592, allocations: 347.8 kB / 1.213 GB, free: 2.887 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.639e-05/0.7593, allocations: 114.2 kB / 1.213 GB, free: 2.762 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.927e-05/0.7593, allocations: 9.062 kB / 1.213 GB, free: 2.754 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.7595, allocations: 19.98 kB / 1.213 GB, free: 2.738 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.412e-05/0.7596, allocations: 11.8 kB / 1.213 GB, free: 2.73 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.7596, allocations: 12.75 kB / 1.213 GB, free: 2.719 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001934/0.7598, allocations: 217.4 kB / 1.213 GB, free: 2.535 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7598, allocations: 0 / 1.213 GB, free: 2.535 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003523/0.7602, allocations: 73.2 kB / 1.213 GB, free: 2.465 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (13): * Single equations (assignments): 13 * 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.0003399/0.7605, allocations: 176.3 kB / 1.213 GB, free: 2.305 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004504/0.761, allocations: 166.4 kB / 1.213 GB, free: 2.168 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.761, allocations: 4 kB / 1.213 GB, free: 2.164 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000181/0.7612, allocations: 81.16 kB / 1.213 GB, free: 2.098 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008328/0.762, allocations: 156.6 kB / 1.214 GB, free: 1.98 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000797/0.7628, allocations: 0.6529 MB / 1.214 GB, free: 1.328 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.7632, allocations: 0.7788 MB / 1.215 GB, free: 0.5625 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001988/0.7634, allocations: 66.84 kB / 1.215 GB, free: 0.5156 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.337e-05/0.7634, allocations: 23.44 kB / 1.215 GB, free: 0.4922 MB / 0.7761 GB Notification: Performance of SimCode: time 2.9e-07/0.7634, allocations: 0 / 1.215 GB, free: 0.4922 MB / 0.7761 GB Notification: Performance of Templates: time 0.009404/0.7728, allocations: 4.851 MB / 1.22 GB, free: 13.22 MB / 0.7917 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)