Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.696/1.696, allocations: 306.1 MB / 321.4 MB, free: 10.77 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.00179/0.00179, allocations: 183.4 kB / 393.1 MB, free: 4.086 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.357/1.357, allocations: 225.7 MB / 0.6743 GB, free: 12.55 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.0007593/0.0007592, allocations: 97.8 kB / 0.7935 GB, free: 40.22 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003472/0.0003473, allocations: 12 kB / 0.9224 GB, free: 8.68 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6397/0.64, allocations: 121.3 MB / 1.041 GB, free: 58.94 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.2015/0.8416, allocations: 185.3 MB / 1.222 GB, free: 9.895 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01138/0.853, allocations: 6.658 MB / 1.228 GB, free: 3.402 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002019/0.8551, allocations: 39.69 kB / 1.228 GB, free: 3.363 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.002566/0.8577, allocations: 0.7157 MB / 1.229 GB, free: 2.848 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.007971/0.8657, allocations: 2.438 MB / 1.231 GB, free: 0.8242 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.003742/0.8694, allocations: 1.045 MB / 1.232 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.004866/0.8743, allocations: 3.643 MB / 1.236 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001901/0.8763, allocations: 0.863 MB / 1.237 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002697/0.879, allocations: 1.043 MB / 1.238 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002108/0.8811, allocations: 1 MB / 1.239 GB, free: 9.203 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0004005/0.8815, allocations: 48 kB / 1.239 GB, free: 9.156 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004585/0.8861, allocations: 2.03 MB / 1.241 GB, free: 7.121 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0008129/0.887, allocations: 406.6 kB / 1.241 GB, free: 6.723 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.001464/0.8885, allocations: 0.6542 MB / 1.242 GB, free: 6.059 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.00538/0.8938, allocations: 2.27 MB / 1.244 GB, free: 3.781 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.8939, allocations: 0 / 1.244 GB, free: 3.781 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.934e-06/0.8939, allocations: 4 kB / 1.244 GB, free: 3.777 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.307e-05/0.894, allocations: 0 / 1.244 GB, free: 3.777 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.005302/0.8993, allocations: 1.716 MB / 1.246 GB, free: 2.008 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.8994, allocations: 12.03 kB / 1.246 GB, free: 1.996 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005642/0.905, allocations: 0.9229 MB / 1.247 GB, free: 1.07 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001884/0.9069, allocations: 0.9256 MB / 1.248 GB, free: 88 kB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.52e-05/0.9071, allocations: 70 kB / 1.248 GB, free: 20 kB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003595/0.9074, allocations: 88.08 kB / 1.248 GB, free: 15.93 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004156/0.9116, allocations: 1.575 MB / 1.249 GB, free: 14.32 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.591e-05/0.9116, allocations: 0 / 1.249 GB, free: 14.32 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001267/0.9118, allocations: 32 kB / 1.249 GB, free: 14.29 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.199e-05/0.9119, allocations: 53.92 kB / 1.249 GB, free: 14.24 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005329/0.9172, allocations: 1.842 MB / 1.251 GB, free: 12.4 MB / 0.823 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.008415/0.9256, allocations: 4.762 MB / 1.256 GB, free: 7.41 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004349/0.93, allocations: 1.588 MB / 1.257 GB, free: 5.812 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002208/0.9323, allocations: 0.8448 MB / 1.258 GB, free: 4.965 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001384/0.9337, allocations: 0.9569 MB / 1.259 GB, free: 3.824 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002564/0.9363, allocations: 0.9067 MB / 1.26 GB, free: 2.902 MB / 0.823 GB Notification: Performance of pre-optimization done (n=95): time 6.663e-06/0.9363, allocations: 3.984 kB / 1.26 GB, free: 2.898 MB / 0.823 GB Notification: Performance of matching and sorting (n=95): time 0.007881/0.9442, allocations: 2.443 MB / 1.262 GB, free: 464 kB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.067e-05/0.9443, allocations: 60.41 kB / 1.262 GB, free: 392 kB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002165/0.9465, allocations: 1.198 MB / 1.264 GB, free: 15.18 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.000158/0.9467, allocations: 53.64 kB / 1.264 GB, free: 15.12 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.00053/0.9472, allocations: 0.5448 MB / 1.264 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003852/0.9476, allocations: 327.4 kB / 1.265 GB, free: 14.24 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.718e-05/0.9477, allocations: 16 kB / 1.265 GB, free: 14.23 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.9479, allocations: 341.9 kB / 1.265 GB, free: 13.89 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002115/0.95, allocations: 0.6967 MB / 1.266 GB, free: 13.19 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002224/0.9522, allocations: 0.9294 MB / 1.266 GB, free: 12.18 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004169/0.9564, allocations: 1.542 MB / 1.268 GB, free: 10.58 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.9564, allocations: 0 / 1.268 GB, free: 10.58 MB / 0.8386 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005024/0.9615, allocations: 1.764 MB / 1.27 GB, free: 8.809 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.229e-05/0.9615, allocations: 8 kB / 1.27 GB, free: 8.801 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.9616, allocations: 4 kB / 1.27 GB, free: 8.797 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.742e-05/0.9616, allocations: 8.438 kB / 1.27 GB, free: 8.789 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001769/0.9634, allocations: 343.5 kB / 1.27 GB, free: 8.453 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.083e-05/0.9634, allocations: 12 kB / 1.27 GB, free: 8.441 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001869/0.9653, allocations: 262.7 kB / 1.27 GB, free: 8.184 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001573/0.9655, allocations: 47.97 kB / 1.27 GB, free: 8.137 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0006768/0.9662, allocations: 339.7 kB / 1.271 GB, free: 7.797 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003276/0.9665, allocations: 138.2 kB / 1.271 GB, free: 7.66 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005123/0.9717, allocations: 1.796 MB / 1.273 GB, free: 5.855 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.9717, allocations: 8 kB / 1.273 GB, free: 5.848 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.9717, allocations: 4 kB / 1.273 GB, free: 5.844 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.9717, allocations: 7.969 kB / 1.273 GB, free: 5.836 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007714/0.9795, allocations: 3.317 MB / 1.276 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/0.9795, allocations: 4 kB / 1.276 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001746/0.9813, allocations: 296 kB / 1.276 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-05/0.9813, allocations: 4 kB / 1.276 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001225/0.9814, allocations: 35.97 kB / 1.276 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.136e-05/0.9815, allocations: 4 kB / 1.276 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/0.9815, allocations: 11.94 kB / 1.276 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007017/0.9885, allocations: 2.832 MB / 1.279 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007112/0.9892, allocations: 331.2 kB / 1.279 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003211/0.9896, allocations: 31.98 kB / 1.279 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001561/0.9912, allocations: 171.7 kB / 1.279 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/0.9914, allocations: 76.45 kB / 1.279 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/0.9915, allocations: 35.97 kB / 1.28 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001321/0.9928, allocations: 0.8279 MB / 1.28 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9928, allocations: 0 / 1.28 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001274/0.9941, allocations: 343.7 kB / 1.281 GB, free: 13.34 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001434/0.9955, allocations: 0.618 MB / 1.281 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004733/1, allocations: 1.607 MB / 1.283 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/1, allocations: 0 / 1.283 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002266/1.003, allocations: 0.836 MB / 1.284 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003775/1.006, allocations: 0.5996 MB / 1.284 GB, free: 9.84 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006698/1.013, allocations: 3.533 MB / 1.288 GB, free: 6.223 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009856/1.014, allocations: 1.179 MB / 1.289 GB, free: 5.016 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002037/1.016, allocations: 382.1 kB / 1.289 GB, free: 4.641 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006471/1.017, allocations: 115.4 kB / 1.289 GB, free: 4.527 MB / 0.8542 GB Notification: Performance of SimCode: time 9.91e-07/1.017, allocations: 4 kB / 1.289 GB, free: 4.523 MB / 0.8542 GB Notification: Performance of Templates: time 0.04031/1.057, allocations: 23.04 MB / 1.312 GB, free: 13.79 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)