Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.585/2.585, allocations: 287.3 MB / 302.3 MB, free: 8.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001625/0.001625, allocations: 190.9 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.114/2.114, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001145/0.001145, allocations: 97.27 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006308/0.0006308, allocations: 13.72 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2214, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.0325/0.254, allocations: 24.58 MB / 1.002 GB, free: 3.66 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01311/0.2671, allocations: 5.812 MB / 1.008 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001617/0.2688, allocations: 43.69 kB / 1.008 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002819/0.2717, allocations: 0.6458 MB / 1.009 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005603/0.2773, allocations: 1.189 MB / 1.01 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.006427/0.2838, allocations: 1.312 MB / 1.011 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.004493/0.2883, allocations: 1.56 MB / 1.013 GB, free: 9.102 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001849/0.2902, allocations: 0.6739 MB / 1.013 GB, free: 8.414 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002922/0.2932, allocations: 0.8447 MB / 1.014 GB, free: 7.566 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001611/0.2949, allocations: 0.5679 MB / 1.015 GB, free: 6.996 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000288/0.2952, allocations: 39.98 kB / 1.015 GB, free: 6.957 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002624/0.2978, allocations: 0.5266 MB / 1.015 GB, free: 6.43 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0005892/0.2985, allocations: 239 kB / 1.015 GB, free: 6.195 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0005296/0.299, allocations: 233 kB / 1.016 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002999/0.302, allocations: 1.021 MB / 1.017 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3021, allocations: 0 / 1.017 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.387e-06/0.3021, allocations: 0 / 1.017 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.729e-05/0.3022, allocations: 0 / 1.017 GB, free: 4.938 MB / 0.6355 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.004264/0.3064, allocations: 1.384 MB / 1.018 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.885e-05/0.3065, allocations: 8.031 kB / 1.018 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003196/0.3068, allocations: 114.5 kB / 1.018 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006423/0.3133, allocations: 0.6421 MB / 1.019 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0024/0.3157, allocations: 0.7742 MB / 1.019 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.549e-05/0.3159, allocations: 58 kB / 1.02 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002222/0.3161, allocations: 71.98 kB / 1.02 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00442/0.3205, allocations: 1.103 MB / 1.021 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.246e-05/0.3206, allocations: 0 / 1.021 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/0.3208, allocations: 28 kB / 1.021 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.862e-05/0.3208, allocations: 23.95 kB / 1.021 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005929/0.3268, allocations: 1.02 MB / 1.022 GB, free: 15.51 MB / 0.6511 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.01127/0.3381, allocations: 4.979 MB / 1.027 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005739/0.3439, allocations: 0.9612 MB / 1.028 GB, free: 9.277 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002198/0.3461, allocations: 1.592 MB / 1.029 GB, free: 7.336 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003294/0.3495, allocations: 0.5885 MB / 1.03 GB, free: 6.738 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=61): time 4.439e-06/0.3496, allocations: 0 / 1.03 GB, free: 6.738 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61): time 0.009361/0.3589, allocations: 1.52 MB / 1.031 GB, free: 5.211 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.102e-05/0.359, allocations: 59.97 kB / 1.031 GB, free: 5.141 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00213/0.3612, allocations: 1.113 MB / 1.032 GB, free: 4.016 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002107/0.3614, allocations: 45.7 kB / 1.032 GB, free: 3.965 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006764/0.3621, allocations: 0.5513 MB / 1.033 GB, free: 3.406 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004112/0.3626, allocations: 213 kB / 1.033 GB, free: 3.195 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.305e-05/0.3627, allocations: 16 kB / 1.033 GB, free: 3.18 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001814/0.3628, allocations: 341.9 kB / 1.033 GB, free: 2.84 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002767/0.3656, allocations: 453.6 kB / 1.034 GB, free: 2.398 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003574/0.3693, allocations: 0.7397 MB / 1.035 GB, free: 1.531 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002936/0.3722, allocations: 0.4939 MB / 1.035 GB, free: 1.035 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.789e-06/0.3723, allocations: 3.938 kB / 1.035 GB, free: 1.031 MB / 0.6511 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.007204/0.3795, allocations: 1.286 MB / 1.036 GB, free: 15.74 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.578e-05/0.3796, allocations: 11.95 kB / 1.036 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.055e-05/0.3796, allocations: 11.94 kB / 1.036 GB, free: 15.71 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.525e-05/0.3797, allocations: 12 kB / 1.036 GB, free: 15.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002493/0.3822, allocations: 283.9 kB / 1.037 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.245e-05/0.3823, allocations: 19.92 kB / 1.037 GB, free: 15.41 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002482/0.3848, allocations: 203.1 kB / 1.037 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002669/0.3851, allocations: 43.97 kB / 1.037 GB, free: 15.16 MB / 0.6667 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.0008792/0.386, allocations: 301.8 kB / 1.037 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004191/0.3864, allocations: 118.5 kB / 1.037 GB, free: 14.74 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00746/0.3939, allocations: 1.39 MB / 1.039 GB, free: 13.34 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-05/0.394, allocations: 8 kB / 1.039 GB, free: 13.34 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.394, allocations: 0 / 1.039 GB, free: 13.34 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.1e-05/0.3941, allocations: 3.984 kB / 1.039 GB, free: 13.33 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00982/0.4039, allocations: 2.394 MB / 1.041 GB, free: 10.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.38e-05/0.4039, allocations: 192 / 1.041 GB, free: 10.86 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002026/0.406, allocations: 199.7 kB / 1.041 GB, free: 10.66 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.68e-05/0.406, allocations: 4 kB / 1.041 GB, free: 10.66 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001507/0.4062, allocations: 27.97 kB / 1.041 GB, free: 10.63 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.089e-05/0.4062, allocations: 4 kB / 1.041 GB, free: 10.63 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.4062, allocations: 0 / 1.041 GB, free: 10.63 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009895/0.4161, allocations: 2.082 MB / 1.043 GB, free: 8.488 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008464/0.417, allocations: 291.3 kB / 1.044 GB, free: 8.184 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002676/0.4173, allocations: 19.98 kB / 1.044 GB, free: 8.164 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001947/0.4193, allocations: 127.9 kB / 1.044 GB, free: 8.039 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002079/0.4195, allocations: 56.44 kB / 1.044 GB, free: 7.984 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001552/0.4197, allocations: 35.91 kB / 1.044 GB, free: 7.949 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001571/0.4213, allocations: 0.7642 MB / 1.044 GB, free: 7.18 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.61e-07/0.4213, allocations: 0 / 1.044 GB, free: 7.18 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001832/0.4232, allocations: 347.5 kB / 1.045 GB, free: 6.84 MB / 0.6667 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.01235/0.4356, allocations: 3.572 MB / 1.048 GB, free: 3.363 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.006398/0.442, allocations: 1.134 MB / 1.049 GB, free: 2.227 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.567e-06/0.4421, allocations: 0 / 1.049 GB, free: 2.227 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.003294/0.4454, allocations: 0.5814 MB / 1.05 GB, free: 1.648 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003851/0.4493, allocations: 437.2 kB / 1.05 GB, free: 1.219 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02931/0.4786, allocations: 12.57 MB / 1.063 GB, free: 4.184 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001032/0.4797, allocations: 1.129 MB / 1.064 GB, free: 3.027 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001965/0.4817, allocations: 260.8 kB / 1.064 GB, free: 2.77 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001309/0.4831, allocations: 459.2 kB / 1.064 GB, free: 2.32 MB / 0.6823 GB Notification: Performance of SimCode: time 1.453e-06/0.4831, allocations: 0 / 1.064 GB, free: 2.32 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7054/1.189, allocations: 29.62 MB / 1.093 GB, free: 81.29 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002191/1.189, allocations: 226.1 kB / 1.094 GB, free: 81.06 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.687/4.875, allocations: 2.953 kB / 1.094 GB, free: 81.06 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)