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.478/1.478, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001248/0.001249, allocations: 189 kB / 326.5 MB, free: 2.219 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.945/1.945, allocations: 205.4 MB / 0.5775 GB, free: 20.56 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.0009086/0.0009083, allocations: 90.52 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003653/0.0003654, allocations: 14.08 kB / 0.7963 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2362, allocations: 106.3 MB / 0.9001 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.01988/0.2561, allocations: 24.59 MB / 0.9242 GB, free: 39.55 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.008064/0.2642, allocations: 5.8 MB / 0.9298 GB, free: 33.74 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001517/0.2658, allocations: 39.69 kB / 0.9299 GB, free: 33.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001802/0.2676, allocations: 0.6458 MB / 0.9305 GB, free: 33.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003632/0.2712, allocations: 1.184 MB / 0.9317 GB, free: 31.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003242/0.2745, allocations: 1.242 MB / 0.9329 GB, free: 30.64 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002689/0.2772, allocations: 1.556 MB / 0.9344 GB, free: 29.08 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001004/0.2782, allocations: 0.6548 MB / 0.935 GB, free: 28.41 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001558/0.2798, allocations: 0.8603 MB / 0.9359 GB, free: 27.55 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007328/0.2805, allocations: 0.5562 MB / 0.9364 GB, free: 26.99 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.791e-05/0.2806, allocations: 40 kB / 0.9364 GB, free: 26.95 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001527/0.2822, allocations: 0.5266 MB / 0.937 GB, free: 26.43 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001979/0.2824, allocations: 247.1 kB / 0.9372 GB, free: 26.18 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002569/0.2826, allocations: 225.1 kB / 0.9374 GB, free: 25.96 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001138/0.2838, allocations: 1.025 MB / 0.9384 GB, free: 24.93 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.2838, allocations: 0 / 0.9384 GB, free: 24.93 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2838, allocations: 0 / 0.9384 GB, free: 24.93 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.289e-05/0.2838, allocations: 0 / 0.9384 GB, free: 24.93 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.002208/0.286, allocations: 1.391 MB / 0.9398 GB, free: 23.48 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.2861, allocations: 8.031 kB / 0.9398 GB, free: 23.48 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001172/0.2862, allocations: 118.5 kB / 0.9399 GB, free: 23.35 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003183/0.2894, allocations: 0.6383 MB / 0.9405 GB, free: 22.71 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/0.2907, allocations: 0.7704 MB / 0.9413 GB, free: 21.89 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.761e-05/0.2907, allocations: 57.94 kB / 0.9413 GB, free: 21.83 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.2909, allocations: 75.91 kB / 0.9414 GB, free: 21.75 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002115/0.293, allocations: 1.101 MB / 0.9425 GB, free: 20.58 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.293, allocations: 11.88 kB / 0.9425 GB, free: 20.57 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.164e-05/0.2931, allocations: 32 kB / 0.9425 GB, free: 20.54 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.2931, allocations: 19.95 kB / 0.9425 GB, free: 20.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002657/0.2958, allocations: 1.027 MB / 0.9435 GB, free: 19.49 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.00505/0.3008, allocations: 4.967 MB / 0.9484 GB, free: 14.23 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002583/0.3034, allocations: 0.9519 MB / 0.9493 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001095/0.3046, allocations: 1.596 MB / 0.9509 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001429/0.306, allocations: 0.5923 MB / 0.9515 GB, free: 10.72 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=61): time 3.256e-06/0.306, allocations: 0 / 0.9515 GB, free: 10.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=61): time 0.004267/0.3103, allocations: 1.512 MB / 0.9529 GB, free: 9.203 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.3104, allocations: 63.97 kB / 0.953 GB, free: 9.125 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/0.3115, allocations: 1.117 MB / 0.9541 GB, free: 7.996 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.077e-05/0.3116, allocations: 37.7 kB / 0.9541 GB, free: 7.953 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000346/0.312, allocations: 0.5512 MB / 0.9547 GB, free: 7.395 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001838/0.3121, allocations: 209.2 kB / 0.9549 GB, free: 7.188 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.606e-05/0.3122, allocations: 16 kB / 0.9549 GB, free: 7.172 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.848e-05/0.3123, allocations: 334 kB / 0.9552 GB, free: 6.84 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/0.3135, allocations: 457.6 kB / 0.9556 GB, free: 6.391 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001373/0.3149, allocations: 0.7435 MB / 0.9564 GB, free: 5.52 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.3163, allocations: 0.4901 MB / 0.9568 GB, free: 5.031 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.82e-06/0.3163, allocations: 4 kB / 0.9568 GB, free: 5.027 MB / 0.6042 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003243/0.3195, allocations: 1.29 MB / 0.9581 GB, free: 3.727 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/0.3196, allocations: 11.95 kB / 0.9581 GB, free: 3.715 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.3196, allocations: 8 kB / 0.9581 GB, free: 3.707 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.972e-05/0.3196, allocations: 12 kB / 0.9581 GB, free: 3.695 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/0.3207, allocations: 275.8 kB / 0.9584 GB, free: 3.426 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.955e-05/0.3208, allocations: 19.94 kB / 0.9584 GB, free: 3.406 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/0.3222, allocations: 214.8 kB / 0.9586 GB, free: 3.195 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/0.3223, allocations: 47.97 kB / 0.9587 GB, free: 3.148 MB / 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.0004978/0.3228, allocations: 289.8 kB / 0.9589 GB, free: 2.859 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001757/0.323, allocations: 118.5 kB / 0.959 GB, free: 2.742 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00348/0.3265, allocations: 1.39 MB / 0.9604 GB, free: 1.348 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-05/0.3265, allocations: 11.98 kB / 0.9604 GB, free: 1.336 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.3266, allocations: 0 / 0.9604 GB, free: 1.336 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.3266, allocations: 3.984 kB / 0.9604 GB, free: 1.332 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004829/0.3314, allocations: 2.39 MB / 0.9628 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/0.3314, allocations: 0 / 0.9628 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009941/0.3324, allocations: 195.9 kB / 0.9629 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.248e-05/0.3325, allocations: 4 kB / 0.9629 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.941e-05/0.3325, allocations: 27.97 kB / 0.963 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.416e-06/0.3326, allocations: 4 kB / 0.963 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.3326, allocations: 7.875 kB / 0.963 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005093/0.3377, allocations: 2.082 MB / 0.965 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006403/0.3383, allocations: 291.2 kB / 0.9653 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/0.3385, allocations: 20 kB / 0.9653 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009366/0.3394, allocations: 127.9 kB / 0.9654 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.3396, allocations: 60.39 kB / 0.9655 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.567e-05/0.3397, allocations: 31.97 kB / 0.9655 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001042/0.3407, allocations: 0.7603 MB / 0.9663 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3407, allocations: 0 / 0.9663 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001246/0.342, allocations: 339.6 kB / 0.9666 GB, free: 10.85 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.007007/0.349, allocations: 3.577 MB / 0.9701 GB, free: 7.352 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003405/0.3524, allocations: 1.134 MB / 0.9712 GB, free: 6.215 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.3525, allocations: 3.938 kB / 0.9712 GB, free: 6.211 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001639/0.3541, allocations: 0.5854 MB / 0.9718 GB, free: 5.629 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002225/0.3564, allocations: 428.2 kB / 0.9722 GB, free: 5.211 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01747/0.3738, allocations: 12.57 MB / 0.9844 GB, free: 8.176 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007176/0.3746, allocations: 1.129 MB / 0.9856 GB, free: 7.02 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001296/0.3759, allocations: 256.8 kB / 0.9858 GB, free: 6.766 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006869/0.3766, allocations: 471.2 kB / 0.9862 GB, free: 6.305 MB / 0.6355 GB Notification: Performance of SimCode: time 7.02e-07/0.3766, allocations: 0 / 0.9862 GB, free: 6.305 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05668/0.4333, allocations: 29.64 MB / 1.015 GB, free: 8.973 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002302/0.4336, allocations: 234.8 kB / 1.015 GB, free: 8.738 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.025/3.458, allocations: 0 / 1.015 GB, free: 8.738 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)