Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.057/2.057, allocations: 251.1 MB / 266.7 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001323/0.001323, allocations: 181.1 kB / 326.3 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.241/2.241, allocations: 205.4 MB / 0.5772 GB, free: 20.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001299/0.001299, allocations: 91.61 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004527/0.0004528, allocations: 11.75 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1874, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.0317/0.2192, allocations: 26.95 MB / 0.9258 GB, free: 38.52 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01159/0.2308, allocations: 6.318 MB / 0.932 GB, free: 32.19 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001444/0.2323, allocations: 47.62 kB / 0.932 GB, free: 32.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00191/0.2343, allocations: 0.5597 MB / 0.9326 GB, free: 31.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00407/0.2384, allocations: 1.162 MB / 0.9337 GB, free: 30.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003618/0.242, allocations: 0.9498 MB / 0.9346 GB, free: 29.47 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003917/0.246, allocations: 2.769 MB / 0.9373 GB, free: 26.69 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001361/0.2474, allocations: 0.678 MB / 0.938 GB, free: 26 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002138/0.2495, allocations: 0.9023 MB / 0.9389 GB, free: 25.09 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001389/0.251, allocations: 0.7547 MB / 0.9396 GB, free: 24.34 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001733/0.2511, allocations: 40 kB / 0.9397 GB, free: 24.3 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001805/0.253, allocations: 0.495 MB / 0.9401 GB, free: 23.8 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002871/0.2533, allocations: 235 kB / 0.9404 GB, free: 23.57 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003262/0.2536, allocations: 233 kB / 0.9406 GB, free: 23.34 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00156/0.2552, allocations: 1.033 MB / 0.9416 GB, free: 22.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.2552, allocations: 0 / 0.9416 GB, free: 22.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2552, allocations: 0 / 0.9416 GB, free: 22.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.335e-05/0.2552, allocations: 0 / 0.9416 GB, free: 22.3 MB / 0.6042 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.003127/0.2584, allocations: 1.391 MB / 0.943 GB, free: 20.86 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.2584, allocations: 8.031 kB / 0.943 GB, free: 20.85 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00581/0.2643, allocations: 0.6314 MB / 0.9436 GB, free: 20.21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001752/0.266, allocations: 0.7755 MB / 0.9443 GB, free: 19.39 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.278e-05/0.2661, allocations: 54.38 kB / 0.9444 GB, free: 19.33 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000173/0.2663, allocations: 79.94 kB / 0.9445 GB, free: 19.25 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003576/0.2699, allocations: 1.107 MB / 0.9455 GB, free: 18.07 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/0.27, allocations: 0 / 0.9455 GB, free: 18.07 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/0.2701, allocations: 31.98 kB / 0.9456 GB, free: 18.04 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.017e-05/0.2701, allocations: 20 kB / 0.9456 GB, free: 18.02 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005089/0.2752, allocations: 1.02 MB / 0.9466 GB, free: 17 MB / 0.6042 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.007273/0.2825, allocations: 4.99 MB / 0.9515 GB, free: 11.71 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004939/0.2875, allocations: 0.9575 MB / 0.9524 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002455/0.29, allocations: 495.1 kB / 0.9529 GB, free: 10.27 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001495/0.2915, allocations: 1.599 MB / 0.9544 GB, free: 8.312 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002698/0.2942, allocations: 0.5846 MB / 0.955 GB, free: 7.715 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=61): time 3.707e-06/0.2943, allocations: 0 / 0.955 GB, free: 7.715 MB / 0.6042 GB Notification: Performance of matching and sorting (n=61): time 0.007882/0.3021, allocations: 1.52 MB / 0.9565 GB, free: 6.188 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.3022, allocations: 59.97 kB / 0.9565 GB, free: 6.117 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001623/0.3039, allocations: 1.117 MB / 0.9576 GB, free: 4.988 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.000155/0.304, allocations: 45.7 kB / 0.9577 GB, free: 4.938 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004657/0.3045, allocations: 0.5589 MB / 0.9582 GB, free: 4.371 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002165/0.3047, allocations: 201.2 kB / 0.9584 GB, free: 4.172 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.332e-05/0.3048, allocations: 16 kB / 0.9584 GB, free: 4.156 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.528e-05/0.3049, allocations: 338 kB / 0.9588 GB, free: 3.82 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002479/0.3074, allocations: 461.6 kB / 0.9592 GB, free: 3.367 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002631/0.3101, allocations: 0.7397 MB / 0.9599 GB, free: 2.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00254/0.3126, allocations: 0.49 MB / 0.9604 GB, free: 2.012 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/0.3127, allocations: 4 kB / 0.9604 GB, free: 2.008 MB / 0.6042 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.005749/0.3184, allocations: 1.294 MB / 0.9617 GB, free: 0.7031 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/0.3185, allocations: 9.719 kB / 0.9617 GB, free: 0.6953 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.3185, allocations: 8 kB / 0.9617 GB, free: 0.6875 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.067e-05/0.3185, allocations: 12 kB / 0.9617 GB, free: 0.6758 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002202/0.3208, allocations: 276 kB / 0.962 GB, free: 416 kB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.37e-05/0.3208, allocations: 15.98 kB / 0.962 GB, free: 400 kB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002178/0.323, allocations: 214.9 kB / 0.9622 GB, free: 184 kB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001797/0.3232, allocations: 43.97 kB / 0.9622 GB, free: 140 kB / 0.6042 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.0007111/0.3239, allocations: 295.8 kB / 0.9625 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003292/0.3243, allocations: 126.4 kB / 0.9626 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007052/0.3313, allocations: 1.386 MB / 0.964 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.979e-05/0.3314, allocations: 3.984 kB / 0.964 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.3314, allocations: 0 / 0.964 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007472/0.3322, allocations: 279.3 kB / 0.9642 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002616/0.3325, allocations: 19.98 kB / 0.9643 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001775/0.3342, allocations: 127.8 kB / 0.9644 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000154/0.3344, allocations: 44.48 kB / 0.9644 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007679/0.3421, allocations: 1.378 MB / 0.9658 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.009466/0.3516, allocations: 2.062 MB / 0.9678 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002823/0.3545, allocations: 0.555 MB / 0.9683 GB, free: 9.812 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001532/0.3561, allocations: 0.7564 MB / 0.9691 GB, free: 9.051 MB / 0.6198 GB Notification: Performance of Backend: time 9.92e-07/0.3561, allocations: 0 / 0.9691 GB, free: 9.051 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.006071/0.3622, allocations: 1.348 MB / 0.9704 GB, free: 7.863 MB / 0.6198 GB Notification: Performance of SimCode: time 0.007045/0.3693, allocations: 2.886 MB / 0.9732 GB, free: 4.922 MB / 0.6198 GB Notification: Performance of Templates: time 0.05794/0.4272, allocations: 20.54 MB / 0.9933 GB, free: 0.5586 MB / 0.6355 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)