Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.689/1.689, allocations: 306.1 MB / 321.4 MB, free: 10.7 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.001113/0.001113, allocations: 183.5 kB / 393.1 MB, free: 4.078 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.36/1.36, allocations: 225.7 MB / 0.6743 GB, free: 12.53 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.0008339/0.0008339, allocations: 94.16 kB / 0.7935 GB, free: 40.09 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003583/0.0003583, allocations: 12 kB / 0.9224 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6576/0.6579, allocations: 121.3 MB / 1.041 GB, free: 58.6 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02405/0.6821, allocations: 28.95 MB / 1.069 GB, free: 37.2 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.009673/0.6918, allocations: 9.321 MB / 1.078 GB, free: 29.25 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001579/0.6934, allocations: 42.16 kB / 1.078 GB, free: 29.23 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001633/0.6951, allocations: 0.5978 MB / 1.079 GB, free: 28.98 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003773/0.6988, allocations: 1.351 MB / 1.08 GB, free: 28.25 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002953/0.7018, allocations: 1.076 MB / 1.081 GB, free: 27.68 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003369/0.7052, allocations: 3.239 MB / 1.084 GB, free: 26.5 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001173/0.7064, allocations: 0.7208 MB / 1.085 GB, free: 26.25 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001815/0.7082, allocations: 0.9551 MB / 1.086 GB, free: 25.86 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009324/0.7092, allocations: 0.8184 MB / 1.087 GB, free: 25.54 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.454e-05/0.7093, allocations: 38.5 kB / 1.087 GB, free: 25.54 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001628/0.7109, allocations: 0.7177 MB / 1.088 GB, free: 25.29 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002244/0.7111, allocations: 250 kB / 1.088 GB, free: 25.17 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004883/0.7116, allocations: 0.5497 MB / 1.088 GB, free: 24.83 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001942/0.7136, allocations: 1.562 MB / 1.09 GB, free: 24.29 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.7136, allocations: 0 / 1.09 GB, free: 24.29 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.257e-06/0.7136, allocations: 4 kB / 1.09 GB, free: 24.29 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.227e-05/0.7136, allocations: 3.938 kB / 1.09 GB, free: 24.29 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: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.002078/0.7157, allocations: 1.377 MB / 1.091 GB, free: 23.33 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.7158, allocations: 9.75 kB / 1.091 GB, free: 23.33 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002991/0.7188, allocations: 0.6299 MB / 1.092 GB, free: 23.23 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.7199, allocations: 0.8162 MB / 1.093 GB, free: 22.71 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.024e-05/0.72, allocations: 53.78 kB / 1.093 GB, free: 22.69 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/0.7202, allocations: 81.97 kB / 1.093 GB, free: 22.66 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002134/0.7223, allocations: 1.1 MB / 1.094 GB, free: 22.15 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.7224, allocations: 1.219 kB / 1.094 GB, free: 22.15 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.598e-05/0.7224, allocations: 36.11 kB / 1.094 GB, free: 22.12 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.562e-05/0.7225, allocations: 19.28 kB / 1.094 GB, free: 22.12 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002882/0.7254, allocations: 1.018 MB / 1.095 GB, free: 21.86 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.005203/0.7306, allocations: 4.977 MB / 1.1 GB, free: 18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002758/0.7334, allocations: 0.9535 MB / 1.101 GB, free: 17.75 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001331/0.7347, allocations: 499.7 kB / 1.101 GB, free: 17.62 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001062/0.7358, allocations: 1.598 MB / 1.103 GB, free: 15.81 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001552/0.7373, allocations: 0.5842 MB / 1.103 GB, free: 15.63 MB / 0.698 GB Notification: Performance of pre-optimization done (n=61): time 4.118e-06/0.7374, allocations: 0 / 1.103 GB, free: 15.63 MB / 0.698 GB Notification: Performance of matching and sorting (n=61): time 0.004653/0.742, allocations: 1.518 MB / 1.105 GB, free: 15.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.7421, allocations: 57.81 kB / 1.105 GB, free: 15.14 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001408/0.7435, allocations: 1.119 MB / 1.106 GB, free: 14.72 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.598e-05/0.7436, allocations: 42.73 kB / 1.106 GB, free: 14.68 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004486/0.7441, allocations: 0.557 MB / 1.107 GB, free: 14.23 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002017/0.7443, allocations: 209.6 kB / 1.107 GB, free: 14.07 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.767e-05/0.7443, allocations: 16.81 kB / 1.107 GB, free: 14.05 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.642e-05/0.7444, allocations: 338.1 kB / 1.107 GB, free: 13.73 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001368/0.7458, allocations: 462.5 kB / 1.107 GB, free: 13.62 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00151/0.7473, allocations: 0.7371 MB / 1.108 GB, free: 13.16 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002768/0.7501, allocations: 1.137 MB / 1.109 GB, free: 12.58 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.782e-06/0.7501, allocations: 2.406 kB / 1.109 GB, free: 12.58 MB / 0.698 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003381/0.7535, allocations: 1.292 MB / 1.111 GB, free: 12.16 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.7535, allocations: 12.41 kB / 1.111 GB, free: 12.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/0.7536, allocations: 8.188 kB / 1.111 GB, free: 12.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.232e-05/0.7536, allocations: 13.39 kB / 1.111 GB, free: 12.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.7548, allocations: 281.7 kB / 1.111 GB, free: 12.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.31e-05/0.7548, allocations: 15.94 kB / 1.111 GB, free: 12.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/0.7562, allocations: 206.7 kB / 1.111 GB, free: 12.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/0.7563, allocations: 48.11 kB / 1.111 GB, free: 12.05 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000499/0.7568, allocations: 288.6 kB / 1.111 GB, free: 11.86 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/0.757, allocations: 130.7 kB / 1.112 GB, free: 11.79 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003593/0.7606, allocations: 1.388 MB / 1.113 GB, free: 11.35 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-05/0.7606, allocations: 11.19 kB / 1.113 GB, free: 11.35 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.7607, allocations: 1.031 kB / 1.113 GB, free: 11.35 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/0.7607, allocations: 3.609 kB / 1.113 GB, free: 11.35 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00481/0.7655, allocations: 2.397 MB / 1.115 GB, free: 10.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/0.7655, allocations: 2.219 kB / 1.115 GB, free: 10.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/0.7665, allocations: 195.4 kB / 1.115 GB, free: 10.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.448e-06/0.7666, allocations: 3.344 kB / 1.115 GB, free: 10.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.187e-05/0.7666, allocations: 25.58 kB / 1.115 GB, free: 10.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.438e-06/0.7667, allocations: 4.219 kB / 1.115 GB, free: 10.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.7667, allocations: 8.719 kB / 1.115 GB, free: 10.29 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004974/0.7716, allocations: 2.003 MB / 1.117 GB, free: 9.539 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000645/0.7723, allocations: 288.9 kB / 1.118 GB, free: 9.328 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/0.7725, allocations: 21.09 kB / 1.118 GB, free: 9.316 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009479/0.7734, allocations: 125.8 kB / 1.118 GB, free: 9.301 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.7736, allocations: 53.44 kB / 1.118 GB, free: 9.289 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.532e-05/0.7737, allocations: 36.78 kB / 1.118 GB, free: 9.281 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001081/0.7747, allocations: 0.757 MB / 1.119 GB, free: 8.996 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7748, allocations: 4 kB / 1.119 GB, free: 8.992 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001495/0.7763, allocations: 340.8 kB / 1.119 GB, free: 8.922 MB / 0.698 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 (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.001654/0.7779, allocations: 0.7234 MB / 1.12 GB, free: 8.578 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003489/0.7814, allocations: 1.129 MB / 1.121 GB, free: 8.285 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.7814, allocations: 0 / 1.121 GB, free: 8.285 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001612/0.7831, allocations: 0.5861 MB / 1.121 GB, free: 8.129 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002375/0.7854, allocations: 454.5 kB / 1.122 GB, free: 8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005081/0.7905, allocations: 2.816 MB / 1.125 GB, free: 6.488 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006381/0.7912, allocations: 1.112 MB / 1.126 GB, free: 5.75 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001427/0.7926, allocations: 251.1 kB / 1.126 GB, free: 5.672 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003459/0.793, allocations: 109.8 kB / 1.126 GB, free: 5.652 MB / 0.698 GB Notification: Performance of SimCode: time 1.102e-06/0.793, allocations: 1.344 kB / 1.126 GB, free: 5.652 MB / 0.698 GB Notification: Performance of Templates: time 0.03889/0.8319, allocations: 19.41 MB / 1.145 GB, free: 9.668 MB / 0.7136 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)