Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.695/1.695, allocations: 297.4 MB / 312.6 MB, free: 2.91 MB / 234.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.0009272/0.0009273, allocations: 197.2 kB / 382.3 MB, free: 14.81 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.369/1.369, allocations: 225.7 MB / 0.6617 GB, free: 7.184 MB / 490.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.0008639/0.000864, allocations: 94.33 kB / 0.7789 GB, free: 46.81 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003553, allocations: 12.78 kB / 0.9058 GB, free: 4.898 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.626/0.6264, allocations: 119.2 MB / 1.022 GB, free: 57.95 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.0248/0.6512, allocations: 28.94 MB / 1.051 GB, free: 36.95 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01104/0.6623, allocations: 9.3 MB / 1.06 GB, free: 29.01 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001619/0.664, allocations: 39.62 kB / 1.06 GB, free: 28.99 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00168/0.6657, allocations: 0.607 MB / 1.06 GB, free: 28.74 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003685/0.6694, allocations: 1.321 MB / 1.062 GB, free: 28.02 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002843/0.6722, allocations: 1.076 MB / 1.063 GB, free: 27.46 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003489/0.6757, allocations: 3.191 MB / 1.066 GB, free: 26.3 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001106/0.6768, allocations: 0.7034 MB / 1.066 GB, free: 26.05 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001846/0.6787, allocations: 0.9605 MB / 1.067 GB, free: 25.66 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009121/0.6796, allocations: 0.8101 MB / 1.068 GB, free: 25.35 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.662e-05/0.6797, allocations: 36.12 kB / 1.068 GB, free: 25.35 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001701/0.6814, allocations: 0.7201 MB / 1.069 GB, free: 25.09 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002539/0.6817, allocations: 250.8 kB / 1.069 GB, free: 24.98 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004711/0.6822, allocations: 0.5501 MB / 1.07 GB, free: 24.63 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001761/0.6839, allocations: 1.562 MB / 1.071 GB, free: 24.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.684, allocations: 0 / 1.071 GB, free: 24.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.823e-06/0.684, allocations: 4 kB / 1.071 GB, free: 24.09 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.403e-05/0.684, allocations: 3.031 kB / 1.071 GB, free: 24.09 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.002086/0.6861, allocations: 1.374 MB / 1.072 GB, free: 23.14 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.6861, allocations: 6.5 kB / 1.073 GB, free: 23.14 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003042/0.6892, allocations: 0.6349 MB / 1.073 GB, free: 23.04 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.6903, allocations: 0.8189 MB / 1.074 GB, free: 22.53 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.513e-05/0.6903, allocations: 58.59 kB / 1.074 GB, free: 22.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.6904, allocations: 82.03 kB / 1.074 GB, free: 22.47 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001999/0.6925, allocations: 1.104 MB / 1.075 GB, free: 21.95 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.6925, allocations: 3.938 kB / 1.075 GB, free: 21.95 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.958e-05/0.6926, allocations: 29.88 kB / 1.075 GB, free: 21.93 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.6926, allocations: 19.31 kB / 1.075 GB, free: 21.93 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002549/0.6951, allocations: 1.019 MB / 1.076 GB, free: 21.67 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.004414/0.6996, allocations: 4.973 MB / 1.081 GB, free: 17.81 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002513/0.7021, allocations: 0.9548 MB / 1.082 GB, free: 17.55 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001199/0.7033, allocations: 496.4 kB / 1.082 GB, free: 17.43 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001027/0.7043, allocations: 1.611 MB / 1.084 GB, free: 15.61 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001418/0.7058, allocations: 0.5831 MB / 1.085 GB, free: 15.43 MB / 0.698 GB Notification: Performance of pre-optimization done (n=61): time 2.454e-06/0.7058, allocations: 0 / 1.085 GB, free: 15.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=61): time 0.003999/0.7098, allocations: 1.517 MB / 1.086 GB, free: 15 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/0.7099, allocations: 57.91 kB / 1.086 GB, free: 14.94 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/0.7111, allocations: 1.117 MB / 1.087 GB, free: 14.52 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.833e-05/0.7111, allocations: 43.55 kB / 1.087 GB, free: 14.48 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003186/0.7115, allocations: 0.5511 MB / 1.088 GB, free: 14.04 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001379/0.7116, allocations: 216.2 kB / 1.088 GB, free: 13.87 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.236e-05/0.7117, allocations: 15.25 kB / 1.088 GB, free: 13.86 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.05e-05/0.7117, allocations: 334.5 kB / 1.088 GB, free: 13.54 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/0.713, allocations: 457.2 kB / 1.089 GB, free: 13.43 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001361/0.7143, allocations: 0.7448 MB / 1.089 GB, free: 12.96 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002475/0.7168, allocations: 1.138 MB / 1.091 GB, free: 12.39 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.7168, allocations: 7 kB / 1.091 GB, free: 12.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003142/0.72, allocations: 1.294 MB / 1.092 GB, free: 11.96 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/0.72, allocations: 17.75 kB / 1.092 GB, free: 11.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.72, allocations: 8.922 kB / 1.092 GB, free: 11.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.699e-05/0.7201, allocations: 9.906 kB / 1.092 GB, free: 11.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/0.7212, allocations: 271.9 kB / 1.092 GB, free: 11.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.77e-05/0.7212, allocations: 21.14 kB / 1.092 GB, free: 11.92 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/0.7225, allocations: 209.9 kB / 1.092 GB, free: 11.85 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.824e-05/0.7226, allocations: 49.98 kB / 1.092 GB, free: 11.84 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.0004154/0.723, allocations: 288.6 kB / 1.093 GB, free: 11.65 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.7232, allocations: 122.5 kB / 1.093 GB, free: 11.58 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00322/0.7264, allocations: 1.386 MB / 1.094 GB, free: 11.16 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.759e-05/0.7264, allocations: 9.188 kB / 1.094 GB, free: 11.16 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.7264, allocations: 7.094 kB / 1.094 GB, free: 11.16 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.7264, allocations: 3.422 kB / 1.094 GB, free: 11.16 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004205/0.7306, allocations: 2.384 MB / 1.097 GB, free: 10.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-06/0.7307, allocations: 3.938 kB / 1.097 GB, free: 10.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009331/0.7316, allocations: 202 kB / 1.097 GB, free: 10.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.815e-06/0.7316, allocations: 3.25 kB / 1.097 GB, free: 10.12 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.177e-05/0.7317, allocations: 24.72 kB / 1.097 GB, free: 10.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.7317, allocations: 3.375 kB / 1.097 GB, free: 10.11 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.7317, allocations: 3.188 kB / 1.097 GB, free: 10.11 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004308/0.736, allocations: 2.005 MB / 1.099 GB, free: 9.352 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004552/0.7365, allocations: 290.2 kB / 1.099 GB, free: 9.137 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/0.7367, allocations: 17.8 kB / 1.099 GB, free: 9.129 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000892/0.7376, allocations: 126.9 kB / 1.099 GB, free: 9.113 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.7377, allocations: 52.53 kB / 1.099 GB, free: 9.102 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.828e-05/0.7377, allocations: 33.44 kB / 1.099 GB, free: 9.098 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009116/0.7387, allocations: 0.7651 MB / 1.1 GB, free: 8.805 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7387, allocations: 0 / 1.1 GB, free: 8.805 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001091/0.7398, allocations: 348.7 kB / 1.1 GB, free: 8.727 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.001441/0.7412, allocations: 0.7117 MB / 1.101 GB, free: 8.41 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00325/0.7445, allocations: 1.132 MB / 1.102 GB, free: 8.121 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.7445, allocations: 1.031 kB / 1.102 GB, free: 8.121 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00153/0.746, allocations: 0.5826 MB / 1.103 GB, free: 7.969 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002283/0.7483, allocations: 463.6 kB / 1.103 GB, free: 7.84 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004674/0.753, allocations: 2.805 MB / 1.106 GB, free: 6.336 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005813/0.7536, allocations: 1.113 MB / 1.107 GB, free: 5.602 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001193/0.7548, allocations: 251.9 kB / 1.107 GB, free: 5.535 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003002/0.7551, allocations: 106.4 kB / 1.107 GB, free: 5.52 MB / 0.698 GB Notification: Performance of SimCode: time 5.81e-07/0.7551, allocations: 0 / 1.107 GB, free: 5.52 MB / 0.698 GB Notification: Performance of Templates: time 0.04028/0.7954, allocations: 19.41 MB / 1.126 GB, free: 3.594 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)