Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.337/2.337, allocations: 254.9 MB / 269.9 MB, free: 9.637 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.001274/0.001274, allocations: 197.1 kB / 329.5 MB, free: 1.148 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.623/2.623, allocations: 225.6 MB / 0.6001 GB, free: 360 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.00156/0.00156, allocations: 98.58 kB / 0.7074 GB, free: 6.113 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004864/0.0004866, allocations: 11.22 kB / 0.8242 GB, free: 125 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2216, allocations: 109.1 MB / 0.9308 GB, free: 24.86 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03396/0.2556, allocations: 26.93 MB / 0.9571 GB, free: 13.85 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01461/0.2703, allocations: 6.448 MB / 0.9633 GB, free: 7.383 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001514/0.2718, allocations: 39.69 kB / 0.9634 GB, free: 7.344 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002055/0.2739, allocations: 0.5558 MB / 0.9639 GB, free: 6.785 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.004555/0.2785, allocations: 1.166 MB / 0.9651 GB, free: 5.609 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004089/0.2826, allocations: 0.9709 MB / 0.966 GB, free: 4.637 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004927/0.2876, allocations: 2.769 MB / 0.9687 GB, free: 1.859 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001622/0.2892, allocations: 0.6747 MB / 0.9694 GB, free: 1.172 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002493/0.2918, allocations: 0.9023 MB / 0.9703 GB, free: 272 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001561/0.2933, allocations: 0.7624 MB / 0.971 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001744/0.2935, allocations: 39.94 kB / 0.971 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002056/0.2956, allocations: 494.9 kB / 0.9715 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003765/0.296, allocations: 243 kB / 0.9717 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0004043/0.2964, allocations: 233.1 kB / 0.972 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002047/0.2985, allocations: 1.041 MB / 0.973 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.2985, allocations: 0 / 0.973 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.374e-06/0.2985, allocations: 0 / 0.973 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.427e-05/0.2986, allocations: 0 / 0.973 GB, free: 13.46 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.003685/0.3022, allocations: 1.384 MB / 0.9743 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.3023, allocations: 12.03 kB / 0.9743 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006155/0.3085, allocations: 0.6314 MB / 0.975 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002071/0.3106, allocations: 0.7793 MB / 0.9757 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.813e-05/0.3107, allocations: 62.36 kB / 0.9758 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002102/0.3109, allocations: 75.94 kB / 0.9759 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004014/0.3149, allocations: 1.103 MB / 0.9769 GB, free: 9.227 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.886e-05/0.315, allocations: 7.938 kB / 0.9769 GB, free: 9.219 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/0.3151, allocations: 28 kB / 0.977 GB, free: 9.191 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.778e-05/0.3151, allocations: 20 kB / 0.977 GB, free: 9.172 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00555/0.3207, allocations: 1.024 MB / 0.978 GB, free: 8.145 MB / 0.6198 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.00873/0.3295, allocations: 4.982 MB / 0.9829 GB, free: 2.875 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00535/0.3348, allocations: 0.9497 MB / 0.9838 GB, free: 1.914 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002661/0.3375, allocations: 498.2 kB / 0.9843 GB, free: 1.426 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00189/0.3394, allocations: 1.604 MB / 0.9858 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002914/0.3424, allocations: 0.5922 MB / 0.9864 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=61): time 4.008e-06/0.3424, allocations: 4 kB / 0.9864 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of matching and sorting (n=61): time 0.008574/0.351, allocations: 1.512 MB / 0.9879 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.015e-05/0.3511, allocations: 59.95 kB / 0.9879 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002037/0.3531, allocations: 1.113 MB / 0.989 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001809/0.3533, allocations: 41.7 kB / 0.9891 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006389/0.354, allocations: 0.559 MB / 0.9896 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002799/0.3543, allocations: 213.1 kB / 0.9898 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.281e-05/0.3544, allocations: 16 kB / 0.9898 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.3546, allocations: 334 kB / 0.9901 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002676/0.3572, allocations: 461.6 kB / 0.9906 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002999/0.3603, allocations: 0.7397 MB / 0.9913 GB, free: 9.656 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002759/0.3631, allocations: 0.49 MB / 0.9918 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-06/0.3631, allocations: 4 kB / 0.9918 GB, free: 9.164 MB / 0.6355 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.006349/0.3695, allocations: 1.286 MB / 0.993 GB, free: 7.871 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/0.3695, allocations: 12.19 kB / 0.9931 GB, free: 7.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.3696, allocations: 8 kB / 0.9931 GB, free: 7.852 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.348e-05/0.3696, allocations: 12 kB / 0.9931 GB, free: 7.84 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002396/0.372, allocations: 275.6 kB / 0.9933 GB, free: 7.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.789e-05/0.3721, allocations: 19.88 kB / 0.9934 GB, free: 7.551 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002283/0.3744, allocations: 211 kB / 0.9936 GB, free: 7.344 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001671/0.3745, allocations: 51.97 kB / 0.9936 GB, free: 7.293 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007/0.3753, allocations: 292.3 kB / 0.9939 GB, free: 6.996 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002525/0.3755, allocations: 126.4 kB / 0.994 GB, free: 6.871 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006688/0.3822, allocations: 1.386 MB / 0.9954 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.739e-05/0.3823, allocations: 11.98 kB / 0.9954 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.3823, allocations: 4 kB / 0.9954 GB, free: 5.461 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.551e-05/0.3823, allocations: 7.984 kB / 0.9954 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008583/0.3909, allocations: 2.378 MB / 0.9977 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/0.391, allocations: 4 kB / 0.9977 GB, free: 3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00196/0.393, allocations: 188 kB / 0.9979 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.186e-05/0.393, allocations: 11.94 kB / 0.9979 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/0.3931, allocations: 23.97 kB / 0.9979 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.306e-05/0.3931, allocations: 4 kB / 0.9979 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3931, allocations: 3.938 kB / 0.9979 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009183/0.4023, allocations: 2.008 MB / 0.9999 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006919/0.4031, allocations: 291.2 kB / 1 GB, free: 432 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002546/0.4033, allocations: 16 kB / 1 GB, free: 416 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001802/0.4051, allocations: 131.8 kB / 1 GB, free: 284 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/0.4053, allocations: 52.38 kB / 1 GB, free: 228 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000121/0.4054, allocations: 35.97 kB / 1 GB, free: 192 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001416/0.4069, allocations: 0.7603 MB / 1.001 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.81e-07/0.4069, allocations: 0 / 1.001 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001482/0.4084, allocations: 339.6 kB / 1.001 GB, free: 15.09 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001993/0.4104, allocations: 0.7169 MB / 1.002 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.005911/0.4163, allocations: 1.13 MB / 1.003 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.4164, allocations: 0 / 1.003 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.00295/0.4193, allocations: 0.5892 MB / 1.004 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003831/0.4232, allocations: 445.5 kB / 1.004 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008144/0.4313, allocations: 2.708 MB / 1.007 GB, free: 9.609 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008612/0.4322, allocations: 1.108 MB / 1.008 GB, free: 8.473 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001759/0.434, allocations: 256.6 kB / 1.008 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005443/0.4346, allocations: 107.4 kB / 1.008 GB, free: 8.113 MB / 0.6511 GB Notification: Performance of SimCode: time 1.032e-06/0.4346, allocations: 0 / 1.008 GB, free: 8.113 MB / 0.6511 GB Notification: Performance of Templates: time 0.6336/1.068, allocations: 18.89 MB / 1.027 GB, free: 84.59 MB / 0.6511 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)