Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 97.33 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007942/0.007942, allocations: 173.2 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.321/1.321, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.655/1.655, allocations: 292.7 MB / 0.5502 GB, free: 14.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004963/0.0004964, allocations: 14.53 kB / 0.6744 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1718, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02325/0.1951, allocations: 28.47 MB / 0.8158 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.008429/0.2036, allocations: 6.707 MB / 0.8223 GB, free: 8.199 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009245/0.2045, allocations: 39.69 kB / 0.8224 GB, free: 8.16 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001273/0.2058, allocations: 0.5988 MB / 0.823 GB, free: 7.559 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002682/0.2085, allocations: 1.318 MB / 0.8243 GB, free: 6.234 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002205/0.2107, allocations: 1.05 MB / 0.8253 GB, free: 5.195 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002813/0.2136, allocations: 3.198 MB / 0.8284 GB, free: 1.984 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008293/0.2144, allocations: 0.7129 MB / 0.8291 GB, free: 1.258 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001238/0.2156, allocations: 0.9372 MB / 0.83 GB, free: 324 kB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008281/0.2165, allocations: 0.813 MB / 0.8308 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.283e-05/0.2166, allocations: 36 kB / 0.8308 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001334/0.2179, allocations: 0.7599 MB / 0.8316 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002124/0.2181, allocations: 250.9 kB / 0.8318 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004163/0.2186, allocations: 0.5492 MB / 0.8324 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001449/0.22, allocations: 1.569 MB / 0.8339 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.22, allocations: 0 / 0.8339 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.864e-06/0.22, allocations: 0 / 0.8339 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.2201, allocations: 4 kB / 0.8339 GB, free: 12.32 MB / 0.6544 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.00206/0.2221, allocations: 1.368 MB / 0.8352 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.2222, allocations: 11.97 kB / 0.8352 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001143/0.2223, allocations: 118.7 kB / 0.8354 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00328/0.2256, allocations: 0.6353 MB / 0.836 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.2266, allocations: 0.8136 MB / 0.8368 GB, free: 9.254 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.689e-05/0.2267, allocations: 62.06 kB / 0.8368 GB, free: 9.195 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.2268, allocations: 75.94 kB / 0.8369 GB, free: 9.121 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002172/0.229, allocations: 1.115 MB / 0.838 GB, free: 7.93 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.229, allocations: 0 / 0.838 GB, free: 7.93 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.41e-05/0.2291, allocations: 32 kB / 0.838 GB, free: 7.898 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/0.2291, allocations: 20 kB / 0.838 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002858/0.232, allocations: 1.027 MB / 0.839 GB, free: 6.848 MB / 0.6544 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.004701/0.2367, allocations: 4.975 MB / 0.8439 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002738/0.2395, allocations: 0.9575 MB / 0.8448 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00137/0.2408, allocations: 498.2 kB / 0.8453 GB, free: 128 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00116/0.242, allocations: 1.604 MB / 0.8469 GB, free: 14.17 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001541/0.2436, allocations: 0.5846 MB / 0.8475 GB, free: 13.57 MB / 0.67 GB Notification: Performance of pre-optimization done (n=61): time 2.194e-06/0.2436, allocations: 0 / 0.8475 GB, free: 13.57 MB / 0.67 GB Notification: Performance of matching and sorting (n=61): time 0.004439/0.248, allocations: 1.52 MB / 0.8489 GB, free: 12.05 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.2481, allocations: 63.95 kB / 0.849 GB, free: 11.98 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.2492, allocations: 1.121 MB / 0.8501 GB, free: 10.84 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.6e-05/0.2492, allocations: 41.7 kB / 0.8501 GB, free: 10.8 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003676/0.2496, allocations: 0.5474 MB / 0.8507 GB, free: 10.24 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001593/0.2498, allocations: 213 kB / 0.8509 GB, free: 10.03 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.74e-05/0.2499, allocations: 77.67 kB / 0.8509 GB, free: 9.949 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.51e-05/0.25, allocations: 334 kB / 0.8513 GB, free: 9.617 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001375/0.2514, allocations: 457.6 kB / 0.8517 GB, free: 9.168 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001547/0.2529, allocations: 0.7514 MB / 0.8524 GB, free: 8.289 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002827/0.2558, allocations: 1.14 MB / 0.8535 GB, free: 7.039 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.2558, allocations: 8 kB / 0.8536 GB, free: 7.031 MB / 0.67 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003263/0.259, allocations: 1.298 MB / 0.8548 GB, free: 5.727 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.2591, allocations: 8 kB / 0.8548 GB, free: 5.719 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.2591, allocations: 8 kB / 0.8548 GB, free: 5.711 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.2591, allocations: 12 kB / 0.8548 GB, free: 5.699 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.2603, allocations: 267.8 kB / 0.8551 GB, free: 5.438 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.551e-05/0.2603, allocations: 23.92 kB / 0.8551 GB, free: 5.414 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/0.2614, allocations: 207 kB / 0.8553 GB, free: 5.211 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-05/0.2615, allocations: 51.97 kB / 0.8554 GB, free: 5.16 MB / 0.67 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 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * 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.000377/0.2619, allocations: 302.5 kB / 0.8557 GB, free: 4.859 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/0.262, allocations: 122.4 kB / 0.8558 GB, free: 4.738 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003522/0.2656, allocations: 1.39 MB / 0.8571 GB, free: 3.336 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/0.2656, allocations: 8 kB / 0.8571 GB, free: 3.328 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.2656, allocations: 0 / 0.8571 GB, free: 3.328 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.2656, allocations: 3.984 kB / 0.8571 GB, free: 3.324 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00446/0.2701, allocations: 2.413 MB / 0.8595 GB, free: 0.8398 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.2701, allocations: 0 / 0.8595 GB, free: 0.8398 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00095/0.2711, allocations: 195.9 kB / 0.8597 GB, free: 0.6484 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.2711, allocations: 4 kB / 0.8597 GB, free: 0.6445 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.728e-05/0.2711, allocations: 27.97 kB / 0.8597 GB, free: 0.6172 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.2711, allocations: 7.938 kB / 0.8597 GB, free: 0.6094 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.2712, allocations: 3.938 kB / 0.8597 GB, free: 0.6055 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004665/0.2758, allocations: 2.008 MB / 0.8617 GB, free: 14.56 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003386/0.2762, allocations: 291.2 kB / 0.862 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.2763, allocations: 15.98 kB / 0.862 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009035/0.2772, allocations: 123.9 kB / 0.8621 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.2773, allocations: 56.42 kB / 0.8622 GB, free: 14.06 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.554e-05/0.2774, allocations: 31.97 kB / 0.8622 GB, free: 14.03 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008061/0.2782, allocations: 0.772 MB / 0.8629 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2782, allocations: 0 / 0.8629 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009331/0.2792, allocations: 351.5 kB / 0.8633 GB, free: 12.91 MB / 0.6856 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.006209/0.2854, allocations: 3.099 MB / 0.8663 GB, free: 9.93 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00308/0.2885, allocations: 1.138 MB / 0.8674 GB, free: 8.793 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.2885, allocations: 4.188 kB / 0.8674 GB, free: 8.789 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001501/0.29, allocations: 0.5851 MB / 0.868 GB, free: 8.203 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002219/0.2922, allocations: 452.6 kB / 0.8684 GB, free: 7.766 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01713/0.3094, allocations: 10.73 MB / 0.8789 GB, free: 12.47 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005577/0.31, allocations: 1.108 MB / 0.88 GB, free: 11.33 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0009758/0.3109, allocations: 248.8 kB / 0.8802 GB, free: 11.09 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000572/0.3115, allocations: 463.2 kB / 0.8807 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of SimCode: time 6.41e-07/0.3115, allocations: 0 / 0.8807 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.854/2.166, allocations: 29.52 MB / 0.9095 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002261/2.166, allocations: 251.5 kB / 0.9097 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.55/4.716, allocations: 2.812 kB / 0.9097 GB, free: 13.29 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)