Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.35/1.35, allocations: 252 MB / 267 MB, free: 10.97 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.0009279/0.0009279, allocations: 174.2 kB / 326.6 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.535/1.535, allocations: 205.4 MB / 0.5777 GB, free: 20.26 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.0007326/0.0007327, allocations: 90.28 kB / 0.6823 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003694/0.0003696, allocations: 9.625 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1852, allocations: 106.4 MB / 0.9003 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.01964/0.2048, allocations: 26.94 MB / 0.9266 GB, free: 36.79 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.006817/0.2117, allocations: 6.321 MB / 0.9328 GB, free: 30.46 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009541/0.2127, allocations: 39.69 kB / 0.9328 GB, free: 30.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001126/0.2138, allocations: 0.5558 MB / 0.9334 GB, free: 29.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002402/0.2162, allocations: 1.162 MB / 0.9345 GB, free: 28.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002065/0.2183, allocations: 0.9475 MB / 0.9354 GB, free: 27.75 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002288/0.2206, allocations: 2.75 MB / 0.9381 GB, free: 24.99 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007861/0.2214, allocations: 0.639 MB / 0.9387 GB, free: 24.34 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001307/0.2227, allocations: 0.9062 MB / 0.9396 GB, free: 23.43 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007221/0.2235, allocations: 0.7508 MB / 0.9404 GB, free: 22.68 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.988e-05/0.2236, allocations: 36 kB / 0.9404 GB, free: 22.64 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001276/0.2248, allocations: 0.4911 MB / 0.9409 GB, free: 22.15 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000171/0.225, allocations: 239 kB / 0.9411 GB, free: 21.91 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002023/0.2252, allocations: 241 kB / 0.9413 GB, free: 21.67 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00088/0.2261, allocations: 1.033 MB / 0.9423 GB, free: 20.64 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.2261, allocations: 3.984 kB / 0.9423 GB, free: 20.63 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2261, allocations: 0 / 0.9423 GB, free: 20.63 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.152e-05/0.2262, allocations: 3.938 kB / 0.9424 GB, free: 20.63 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.001941/0.2281, allocations: 1.384 MB / 0.9437 GB, free: 19.19 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.2282, allocations: 12.03 kB / 0.9437 GB, free: 19.18 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.914e-05/0.2283, allocations: 114.5 kB / 0.9438 GB, free: 19.06 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003244/0.2315, allocations: 0.6344 MB / 0.9444 GB, free: 18.42 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.2326, allocations: 0.7742 MB / 0.9452 GB, free: 17.59 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.952e-05/0.2326, allocations: 58 kB / 0.9453 GB, free: 17.54 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.2327, allocations: 71.91 kB / 0.9453 GB, free: 17.46 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002018/0.2347, allocations: 1.106 MB / 0.9464 GB, free: 16.29 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.2348, allocations: 7.938 kB / 0.9464 GB, free: 16.28 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.026e-05/0.2348, allocations: 28 kB / 0.9464 GB, free: 16.25 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.2349, allocations: 31.88 kB / 0.9465 GB, free: 16.22 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00267/0.2375, allocations: 1.016 MB / 0.9475 GB, free: 15.2 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.004235/0.2418, allocations: 4.971 MB / 0.9523 GB, free: 9.941 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002619/0.2444, allocations: 0.9525 MB / 0.9532 GB, free: 8.98 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00128/0.2457, allocations: 498.5 kB / 0.9537 GB, free: 8.492 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009867/0.2467, allocations: 1.603 MB / 0.9553 GB, free: 6.535 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001475/0.2482, allocations: 0.5846 MB / 0.9559 GB, free: 5.941 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=61): time 3.065e-06/0.2482, allocations: 4 kB / 0.9559 GB, free: 5.938 MB / 0.6042 GB Notification: Performance of matching and sorting (n=61): time 0.004245/0.2525, allocations: 1.516 MB / 0.9573 GB, free: 4.414 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.2525, allocations: 59.91 kB / 0.9574 GB, free: 4.344 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009902/0.2535, allocations: 1.117 MB / 0.9585 GB, free: 3.215 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.853e-05/0.2536, allocations: 41.7 kB / 0.9585 GB, free: 3.168 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002849/0.2539, allocations: 0.559 MB / 0.9591 GB, free: 2.602 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/0.254, allocations: 201.2 kB / 0.9593 GB, free: 2.402 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.453e-05/0.2541, allocations: 20 kB / 0.9593 GB, free: 2.383 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.884e-05/0.2541, allocations: 330 kB / 0.9596 GB, free: 2.055 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001296/0.2554, allocations: 465.6 kB / 0.96 GB, free: 1.598 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00148/0.2569, allocations: 0.7397 MB / 0.9608 GB, free: 0.7305 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/0.2583, allocations: 0.4939 MB / 0.9612 GB, free: 240 kB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.2583, allocations: 4 kB / 0.9613 GB, free: 236 kB / 0.6042 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003453/0.2617, allocations: 1.29 MB / 0.9625 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.2618, allocations: 12.16 kB / 0.9625 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.2618, allocations: 8 kB / 0.9625 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/0.2618, allocations: 16 kB / 0.9625 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.263, allocations: 275.5 kB / 0.9628 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/0.2631, allocations: 12 kB / 0.9628 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.2644, allocations: 218.8 kB / 0.963 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.2645, allocations: 47.97 kB / 0.9631 GB, free: 14.35 MB / 0.6198 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.0004777/0.265, allocations: 291.7 kB / 0.9634 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002178/0.2652, allocations: 122.5 kB / 0.9635 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003839/0.2691, allocations: 1.379 MB / 0.9648 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.018e-05/0.2691, allocations: 11.98 kB / 0.9648 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.2691, allocations: 8 kB / 0.9648 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.2691, allocations: 3.984 kB / 0.9648 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005103/0.2742, allocations: 2.39 MB / 0.9672 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.2743, allocations: 4 kB / 0.9672 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/0.2753, allocations: 195.9 kB / 0.9674 GB, free: 9.871 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-05/0.2754, allocations: 4 kB / 0.9674 GB, free: 9.867 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.447e-05/0.2754, allocations: 23.97 kB / 0.9674 GB, free: 9.844 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.185e-06/0.2754, allocations: 4 kB / 0.9674 GB, free: 9.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/0.2755, allocations: 11.94 kB / 0.9674 GB, free: 9.828 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0051/0.2806, allocations: 2.001 MB / 0.9694 GB, free: 7.785 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000497/0.2811, allocations: 295.2 kB / 0.9696 GB, free: 7.477 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002038/0.2813, allocations: 12 kB / 0.9697 GB, free: 7.465 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/0.2824, allocations: 127.9 kB / 0.9698 GB, free: 7.34 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.2825, allocations: 52.55 kB / 0.9698 GB, free: 7.289 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.846e-05/0.2826, allocations: 35.95 kB / 0.9699 GB, free: 7.254 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001013/0.2836, allocations: 0.7642 MB / 0.9706 GB, free: 6.484 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2836, allocations: 0 / 0.9706 GB, free: 6.484 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001089/0.2847, allocations: 343.6 kB / 0.9709 GB, free: 6.148 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006812/0.2915, allocations: 3.094 MB / 0.974 GB, free: 3.172 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003426/0.295, allocations: 1.126 MB / 0.9751 GB, free: 2.043 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.295, allocations: 0 / 0.9751 GB, free: 2.043 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001645/0.2966, allocations: 0.5892 MB / 0.9756 GB, free: 1.457 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002473/0.2991, allocations: 449.6 kB / 0.9761 GB, free: 1.02 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01561/0.3148, allocations: 7.679 MB / 0.9836 GB, free: 8.918 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007722/0.3156, allocations: 1.112 MB / 0.9846 GB, free: 7.777 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001189/0.3168, allocations: 252.8 kB / 0.9849 GB, free: 7.527 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006941/0.3175, allocations: 463.2 kB / 0.9853 GB, free: 7.074 MB / 0.6355 GB Notification: Performance of SimCode: time 1.412e-06/0.3175, allocations: 0 / 0.9853 GB, free: 7.074 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05215/0.3697, allocations: 29.66 MB / 1.014 GB, free: 9.738 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001726/0.3699, allocations: 245.9 kB / 1.015 GB, free: 9.457 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.868/3.238, allocations: 0 / 1.015 GB, free: 9.457 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)