Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation.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.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.665/1.665, allocations: 306.1 MB / 321.4 MB, free: 10.78 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.001133/0.001133, allocations: 187.2 kB / 393.1 MB, free: 4.102 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.372/1.372, allocations: 225.7 MB / 0.6743 GB, free: 12.61 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.0009068/0.000907, allocations: 97.3 kB / 0.7935 GB, free: 40.05 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003408/0.000341, allocations: 13.09 kB / 0.9224 GB, free: 8.695 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5883/0.5886, allocations: 121.3 MB / 1.041 GB, free: 58.3 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.01738/0.6061, allocations: 20.51 MB / 1.061 GB, free: 43.16 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.008281/0.6144, allocations: 7.962 MB / 1.069 GB, free: 36.16 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009919/0.6155, allocations: 23.62 kB / 1.069 GB, free: 36.15 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0009608/0.6164, allocations: 284.4 kB / 1.069 GB, free: 36 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002554/0.619, allocations: 0.8492 MB / 1.07 GB, free: 35.52 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002658/0.6217, allocations: 0.7989 MB / 1.071 GB, free: 35.14 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003279/0.625, allocations: 2.296 MB / 1.073 GB, free: 34.31 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008434/0.6258, allocations: 426.4 kB / 1.073 GB, free: 34.16 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001396/0.6272, allocations: 0.6193 MB / 1.074 GB, free: 33.91 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006711/0.6279, allocations: 497.5 kB / 1.074 GB, free: 33.71 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.864e-05/0.628, allocations: 22.72 kB / 1.074 GB, free: 33.71 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002162/0.6302, allocations: 1.059 MB / 1.075 GB, free: 33.39 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001431/0.6303, allocations: 120.3 kB / 1.075 GB, free: 33.33 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003197/0.6306, allocations: 325.2 kB / 1.076 GB, free: 33.13 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001742/0.6324, allocations: 1.186 MB / 1.077 GB, free: 32.76 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.6324, allocations: 0 / 1.077 GB, free: 32.76 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.893e-06/0.6324, allocations: 0 / 1.077 GB, free: 32.76 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.516e-05/0.6324, allocations: 0 / 1.077 GB, free: 32.76 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.00167/0.6341, allocations: 0.9198 MB / 1.078 GB, free: 32.04 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.6342, allocations: 9.844 kB / 1.078 GB, free: 32.04 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008877/0.6351, allocations: 196.2 kB / 1.078 GB, free: 31.99 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.6362, allocations: 0.56 MB / 1.079 GB, free: 31.61 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003672/0.6365, allocations: 88.88 kB / 1.079 GB, free: 31.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.528e-05/0.6366, allocations: 45.45 kB / 1.079 GB, free: 31.58 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009216/0.6376, allocations: 0.4929 MB / 1.079 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.6376, allocations: 3.938 kB / 1.079 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.074e-05/0.6376, allocations: 15.31 kB / 1.079 GB, free: 31.35 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.907e-05/0.6377, allocations: 14.12 kB / 1.079 GB, free: 31.34 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009269/0.6386, allocations: 426 kB / 1.08 GB, free: 31.23 MB / 0.698 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.002408/0.641, allocations: 2.308 MB / 1.082 GB, free: 29.43 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009201/0.6419, allocations: 395 kB / 1.082 GB, free: 29.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004419/0.6424, allocations: 234.3 kB / 1.082 GB, free: 29.23 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002389/0.6426, allocations: 340.1 kB / 1.083 GB, free: 28.85 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005584/0.6432, allocations: 307.5 kB / 1.083 GB, free: 28.71 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 2.775e-06/0.6432, allocations: 0 / 1.083 GB, free: 28.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.002101/0.6453, allocations: 0.9003 MB / 1.084 GB, free: 28.32 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.6454, allocations: 84.27 kB / 1.084 GB, free: 28.23 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004754/0.6459, allocations: 491.7 kB / 1.085 GB, free: 28 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.18e-05/0.6459, allocations: 36.95 kB / 1.085 GB, free: 27.96 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.646, allocations: 277.8 kB / 1.085 GB, free: 27.74 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.633e-05/0.6461, allocations: 100.7 kB / 1.085 GB, free: 27.66 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.912e-05/0.6461, allocations: 7.938 kB / 1.085 GB, free: 27.65 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.623e-05/0.6462, allocations: 368.1 kB / 1.085 GB, free: 27.31 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004131/0.6466, allocations: 181.3 kB / 1.085 GB, free: 27.27 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004481/0.6471, allocations: 278.4 kB / 1.086 GB, free: 27.11 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008345/0.6479, allocations: 481.2 kB / 1.086 GB, free: 26.87 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.648, allocations: 7.875 kB / 1.086 GB, free: 26.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001304/0.6493, allocations: 0.6395 MB / 1.087 GB, free: 26.61 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.134e-05/0.6494, allocations: 168.9 kB / 1.087 GB, free: 26.42 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.6494, allocations: 0 / 1.087 GB, free: 26.42 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003444/0.6497, allocations: 71.33 kB / 1.087 GB, free: 26.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003651/0.6501, allocations: 85.28 kB / 1.087 GB, free: 26.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003559/0.6505, allocations: 0.5922 MB / 1.088 GB, free: 25.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005345/0.651, allocations: 80.55 kB / 1.088 GB, free: 25.81 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.373e-05/0.6511, allocations: 20.64 kB / 1.088 GB, free: 25.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.472e-06/0.6511, allocations: 3.281 kB / 1.088 GB, free: 25.8 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001082/0.6522, allocations: 0.5552 MB / 1.088 GB, free: 25.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-06/0.6522, allocations: 2.562 kB / 1.088 GB, free: 25.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001325/0.6523, allocations: 50.42 kB / 1.088 GB, free: 25.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003634/0.6527, allocations: 86.59 kB / 1.088 GB, free: 25.58 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001184/0.6539, allocations: 1.623 MB / 1.09 GB, free: 24.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005044/0.6544, allocations: 78.7 kB / 1.09 GB, free: 24.01 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-05/0.6545, allocations: 21.16 kB / 1.09 GB, free: 24.01 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0003023/0.6548, allocations: 301.1 kB / 1.09 GB, free: 23.75 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.788e-05/0.6549, allocations: 55.72 kB / 1.09 GB, free: 23.72 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001327/0.6562, allocations: 0.6659 MB / 1.091 GB, free: 23.45 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.6562, allocations: 2.594 kB / 1.091 GB, free: 23.45 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.6562, allocations: 1.219 kB / 1.091 GB, free: 23.45 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001327/0.6576, allocations: 0.8191 MB / 1.092 GB, free: 22.91 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00215/0.6597, allocations: 1.336 MB / 1.093 GB, free: 22.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.6597, allocations: 5.25 kB / 1.093 GB, free: 22.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003648/0.6601, allocations: 67.16 kB / 1.093 GB, free: 22.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001376/0.6603, allocations: 46.52 kB / 1.093 GB, free: 22.17 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.092e-05/0.6603, allocations: 9.438 kB / 1.093 GB, free: 22.17 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002852/0.6606, allocations: 0.5686 MB / 1.094 GB, free: 21.62 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.6606, allocations: 5.188 kB / 1.094 GB, free: 21.62 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/0.6623, allocations: 1.007 MB / 1.095 GB, free: 21.14 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002458/0.6626, allocations: 186.2 kB / 1.095 GB, free: 20.99 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.155e-05/0.6627, allocations: 9.75 kB / 1.095 GB, free: 20.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005294/0.6632, allocations: 62.48 kB / 1.095 GB, free: 20.98 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.617e-05/0.6633, allocations: 22.08 kB / 1.095 GB, free: 20.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.631e-05/0.6633, allocations: 15.61 kB / 1.095 GB, free: 20.98 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003678/0.6637, allocations: 347 kB / 1.096 GB, free: 20.82 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6637, allocations: 0 / 1.096 GB, free: 20.82 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001174/0.6649, allocations: 340.2 kB / 1.096 GB, free: 20.75 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (dyn.U) * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006696/0.6656, allocations: 316.2 kB / 1.096 GB, free: 20.61 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002079/0.6677, allocations: 0.9969 MB / 1.097 GB, free: 20.13 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.6677, allocations: 1.125 kB / 1.097 GB, free: 20.13 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006023/0.6683, allocations: 335.2 kB / 1.097 GB, free: 19.98 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/0.6697, allocations: 254.9 kB / 1.098 GB, free: 19.91 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/0.6719, allocations: 1.383 MB / 1.099 GB, free: 19.12 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.6722, allocations: 0.8794 MB / 1.1 GB, free: 18.41 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005817/0.6728, allocations: 126.2 kB / 1.1 GB, free: 18.38 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.6729, allocations: 47.45 kB / 1.1 GB, free: 18.38 MB / 0.698 GB Notification: Performance of SimCode: time 5.11e-07/0.6729, allocations: 0 / 1.1 GB, free: 18.38 MB / 0.698 GB Notification: Performance of Templates: time 0.01976/0.6927, allocations: 11 MB / 1.111 GB, free: 17.41 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)