Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.267/2.267, allocations: 254.9 MB / 269.9 MB, free: 9.648 MB / 218.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.001373/0.001373, allocations: 205.3 kB / 329.5 MB, free: 1.172 MB / 250.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 2.36/2.36, allocations: 225.6 MB / 0.6001 GB, free: 420 kB / 426.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.0009795/0.0009796, allocations: 102.1 kB / 0.7074 GB, free: 6.168 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004976/0.0004977, allocations: 18.12 kB / 0.8242 GB, free: 124.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2173, allocations: 109.1 MB / 0.9307 GB, free: 24.95 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.1172/0.3345, allocations: 74.4 MB / 1.003 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.7954/1.13, allocations: 20.94 MB / 1.024 GB, free: 17.86 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004726/1.135, allocations: 92.06 kB / 1.024 GB, free: 17.86 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.004654/1.139, allocations: 0.8105 MB / 1.025 GB, free: 17.86 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.0104/1.15, allocations: 2.276 MB / 1.027 GB, free: 17.77 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.01299/1.163, allocations: 2.829 MB / 1.03 GB, free: 17.65 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.03267/1.196, allocations: 17.55 MB / 1.047 GB, free: 16.38 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01417/1.21, allocations: 5.565 MB / 1.052 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01465/1.225, allocations: 4.628 MB / 1.057 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01303/1.238, allocations: 4.571 MB / 1.061 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.002721/1.24, allocations: 260 kB / 1.062 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008968/1.249, allocations: 1.337 MB / 1.063 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.003813/1.253, allocations: 1.22 MB / 1.064 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.004135/1.257, allocations: 1.104 MB / 1.065 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.0132/1.271, allocations: 6.883 MB / 1.072 GB, free: 9.41 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/1.271, allocations: 0 / 1.072 GB, free: 9.41 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.326e-06/1.271, allocations: 3.562 kB / 1.072 GB, free: 9.41 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0003496/1.271, allocations: 0 / 1.072 GB, free: 9.41 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 835 * Number of variables: 835 Notification: Performance of Generate backend data structure: time 0.02068/1.292, allocations: 5.411 MB / 1.077 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/1.292, allocations: 10.5 kB / 1.077 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007327/1.299, allocations: 0.847 MB / 1.078 GB, free: 5.805 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01742/1.317, allocations: 5.034 MB / 1.083 GB, free: 3.91 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004166/1.317, allocations: 264.3 kB / 1.083 GB, free: 3.902 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002094/1.319, allocations: 338.1 kB / 1.083 GB, free: 3.902 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02027/1.34, allocations: 5.732 MB / 1.089 GB, free: 1.824 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001778/1.34, allocations: 13.84 kB / 1.089 GB, free: 1.816 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001959/1.342, allocations: 143.9 kB / 1.089 GB, free: 1.816 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001125/1.342, allocations: 84.94 kB / 1.089 GB, free: 1.816 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01848/1.36, allocations: 5.554 MB / 1.095 GB, free: 14.73 MB / 0.6667 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.07248/1.433, allocations: 24.01 MB / 1.118 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01307/1.446, allocations: 2.797 MB / 1.121 GB, free: 4.309 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008088/1.454, allocations: 1.925 MB / 1.123 GB, free: 2.391 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03088/1.485, allocations: 7.128 MB / 1.13 GB, free: 11 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008694/1.494, allocations: 1.956 MB / 1.132 GB, free: 9.031 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01105/1.505, allocations: 1.246 MB / 1.133 GB, free: 7.785 MB / 0.698 GB Notification: Performance of pre-optimization done (n=155): time 1.901e-05/1.505, allocations: 0 / 1.133 GB, free: 7.785 MB / 0.698 GB Notification: Performance of matching and sorting (n=155): time 0.04526/1.55, allocations: 7.623 MB / 1.14 GB, free: 100 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001505/1.551, allocations: 145.8 kB / 1.14 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01295/1.564, allocations: 4.848 MB / 1.145 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.001026/1.565, allocations: 68.2 kB / 1.145 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.004777/1.57, allocations: 2.439 MB / 1.148 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001792/1.571, allocations: 0.5529 MB / 1.148 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005331/1.572, allocations: 56 kB / 1.148 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0003653/1.572, allocations: 415.3 kB / 1.149 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005911/1.578, allocations: 1.656 MB / 1.15 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006985/1.585, allocations: 2.888 MB / 1.153 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006692/1.592, allocations: 2.113 MB / 1.155 GB, free: 344 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-05/1.592, allocations: 8 kB / 1.155 GB, free: 336 kB / 0.7136 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.02154/1.614, allocations: 6.022 MB / 1.161 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001015/1.615, allocations: 1.108 MB / 1.162 GB, free: 8.715 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-05/1.615, allocations: 32 kB / 1.162 GB, free: 8.684 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2023/1.817, allocations: 11.86 MB / 1.174 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005589/1.823, allocations: 0.6668 MB / 1.174 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01499/1.838, allocations: 5.05 MB / 1.179 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008795/1.847, allocations: 343.7 kB / 1.18 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001008/1.848, allocations: 167.9 kB / 1.18 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/1.848, allocations: 4 kB / 1.18 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01575/1.863, allocations: 5.36 MB / 1.185 GB, free: 1.184 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.983e-05/1.864, allocations: 32 kB / 1.185 GB, free: 1.152 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1429/2.007, allocations: 11.67 MB / 1.196 GB, free: 5.512 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00552/2.012, allocations: 0.6513 MB / 1.197 GB, free: 4.859 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0214/2.034, allocations: 8.079 MB / 1.205 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007758/2.041, allocations: 327.4 kB / 1.205 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001048/2.042, allocations: 163.8 kB / 1.205 GB, free: 12.01 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (287): * Single equations (assignments): 280 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {11 13,10 11,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.005091/2.048, allocations: 1.542 MB / 1.207 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001832/2.049, allocations: 458.3 kB / 1.207 GB, free: 10 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01708/2.067, allocations: 4.877 MB / 1.212 GB, free: 5.109 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.231e-05/2.067, allocations: 23.94 kB / 1.212 GB, free: 5.086 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/2.067, allocations: 4 kB / 1.212 GB, free: 5.082 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03635/2.103, allocations: 6.988 MB / 1.219 GB, free: 13.84 MB / 0.7917 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 postOpt removeSimpleEquations (simulation): time 0.0597/2.163, allocations: 13.24 MB / 1.232 GB, free: 0.5352 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.246e-05/2.163, allocations: 0 / 1.232 GB, free: 0.5352 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004547/2.167, allocations: 375.6 kB / 1.232 GB, free: 172 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1406/2.308, allocations: 11.89 MB / 1.244 GB, free: 4.309 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006897/2.309, allocations: 47.97 kB / 1.244 GB, free: 4.262 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01235/2.321, allocations: 4.37 MB / 1.248 GB, free: 15.81 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/2.321, allocations: 6.734 kB / 1.248 GB, free: 15.81 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04788/2.369, allocations: 9.735 MB / 1.258 GB, free: 6.035 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004794/2.374, allocations: 1.073 MB / 1.259 GB, free: 4.938 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001902/2.376, allocations: 32 kB / 1.259 GB, free: 4.906 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007462/2.383, allocations: 279.2 kB / 1.259 GB, free: 4.633 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008047/2.384, allocations: 101.2 kB / 1.259 GB, free: 4.535 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005053/2.385, allocations: 83.92 kB / 1.259 GB, free: 4.453 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.00952/2.394, allocations: 3.31 MB / 1.262 GB, free: 1.16 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.132e-06/2.394, allocations: 0 / 1.262 GB, free: 1.16 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0151/2.409, allocations: 2.71 MB / 1.265 GB, free: 14.45 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (pump.vol.dynBal.U,hea.outCon.T,val.filter.x[1],val.filter.x[2]) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (127): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {10 3,2 5,10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.002539/2.412, allocations: 0.5597 MB / 1.266 GB, free: 13.93 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.03339/2.445, allocations: 7.566 MB / 1.273 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.721e-05/2.446, allocations: 4.891 kB / 1.273 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.012/2.458, allocations: 2.515 MB / 1.275 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02704/2.485, allocations: 2.781 MB / 1.278 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03204/2.517, allocations: 11.44 MB / 1.289 GB, free: 5.582 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006495/2.523, allocations: 3.219 MB / 1.293 GB, free: 2.336 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.01136/2.535, allocations: 1.701 MB / 1.294 GB, free: 0.6289 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002708/2.537, allocations: 351.2 kB / 1.295 GB, free: 296 kB / 0.8542 GB Notification: Performance of SimCode: time 1.353e-06/2.538, allocations: 0 / 1.295 GB, free: 296 kB / 0.8542 GB Notification: Performance of Templates: time 0.9872/3.525, allocations: 107.2 MB / 1.399 GB, free: 309.6 MB / 0.9167 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.sim & ./Buildings_7.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1)