Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.738/1.738, allocations: 285.6 MB / 293.1 MB, free: 10.25 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.001464/0.001464, allocations: 176.9 kB / 361.4 MB, free: 6.859 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.02/2.02, allocations: 205.2 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009925/0.0009925, allocations: 92.14 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.204e-05/2.215e-05, allocations: 4 kB / 0.8518 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8232/0.8232, allocations: 115.3 MB / 0.9644 GB, free: 78.75 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.175/5.998, allocations: 2.067 GB / 3.032 GB, free: 94.31 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003248/5.999, allocations: 83.95 kB / 3.032 GB, free: 94.23 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.402/8.401, allocations: 0.6722 GB / 3.704 GB, free: 158.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.693e-06/8.401, allocations: 4 kB / 3.704 GB, free: 158.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001048/8.401, allocations: 48.55 kB / 3.704 GB, free: 158.5 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.005555/8.406, allocations: 1.752 MB / 3.706 GB, free: 156.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/8.407, allocations: 8.031 kB / 3.706 GB, free: 156.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005334/8.412, allocations: 0.8834 MB / 3.707 GB, free: 155.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003575/8.415, allocations: 1.101 MB / 3.708 GB, free: 154.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.499e-05/8.416, allocations: 31.95 kB / 3.708 GB, free: 154.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002187/8.416, allocations: 59.98 kB / 3.708 GB, free: 154.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00179/8.418, allocations: 1.086 MB / 3.709 GB, free: 153.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/8.419, allocations: 1.138 MB / 3.71 GB, free: 152.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/8.419, allocations: 0 / 3.71 GB, free: 152.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/8.419, allocations: 7.938 kB / 3.71 GB, free: 152.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.036e-05/8.419, allocations: 41.98 kB / 3.71 GB, free: 152.3 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.00734/8.427, allocations: 4.81 MB / 3.715 GB, free: 147.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001312/8.428, allocations: 1.061 MB / 3.716 GB, free: 146.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006769/8.429, allocations: 0.5771 MB / 3.716 GB, free: 145.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001073/8.43, allocations: 0.9545 MB / 3.717 GB, free: 144.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000852/8.431, allocations: 0.672 MB / 3.718 GB, free: 143.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=95): time 3.507e-06/8.431, allocations: 0 / 3.718 GB, free: 143.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.002805/8.434, allocations: 1.283 MB / 3.719 GB, free: 142.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/8.434, allocations: 64.19 kB / 3.719 GB, free: 142.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009289/8.435, allocations: 0.8263 MB / 3.72 GB, free: 141.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001138/8.435, allocations: 29.7 kB / 3.72 GB, free: 141.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003485/8.435, allocations: 0.5625 MB / 3.721 GB, free: 141.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002258/8.435, allocations: 319.3 kB / 3.721 GB, free: 140.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.912e-05/8.435, allocations: 0 / 3.721 GB, free: 140.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.742e-05/8.435, allocations: 341.9 kB / 3.721 GB, free: 140.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005985/8.436, allocations: 474.4 kB / 3.722 GB, free: 140 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007352/8.437, allocations: 0.7256 MB / 3.722 GB, free: 139.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006994/8.437, allocations: 0.5019 MB / 3.723 GB, free: 138.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/8.437, allocations: 3.953 kB / 3.723 GB, free: 138.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001789/8.439, allocations: 1.272 MB / 3.724 GB, free: 137.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/8.439, allocations: 9.094 kB / 3.724 GB, free: 137.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/8.439, allocations: 4.562 kB / 3.724 GB, free: 137.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.595e-05/8.439, allocations: 16 kB / 3.724 GB, free: 137.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001909/8.441, allocations: 351.5 kB / 3.724 GB, free: 137 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/8.441, allocations: 11.94 kB / 3.724 GB, free: 137 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001679/8.443, allocations: 218.9 kB / 3.725 GB, free: 136.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/8.443, allocations: 59.94 kB / 3.725 GB, free: 136.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 121 * 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.0002468/8.443, allocations: 146.9 kB / 3.725 GB, free: 136.6 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001734/8.445, allocations: 1.17 MB / 3.726 GB, free: 135.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001615/8.445, allocations: 114.6 kB / 3.726 GB, free: 135.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002318/8.448, allocations: 1.361 MB / 3.727 GB, free: 133.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/8.448, allocations: 12 kB / 3.727 GB, free: 133.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/8.448, allocations: 0 / 3.727 GB, free: 133.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.765e-05/8.448, allocations: 3.984 kB / 3.727 GB, free: 133.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005179/8.453, allocations: 2.9 MB / 3.73 GB, free: 130.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/8.453, allocations: 4 kB / 3.73 GB, free: 130.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001707/8.455, allocations: 311.7 kB / 3.731 GB, free: 130.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.41e-05/8.455, allocations: 8 kB / 3.731 GB, free: 130.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-05/8.455, allocations: 31.95 kB / 3.731 GB, free: 130.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.909e-06/8.455, allocations: 8 kB / 3.731 GB, free: 130.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.727e-06/8.455, allocations: 11.89 kB / 3.731 GB, free: 130.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002968/8.458, allocations: 2.396 MB / 3.733 GB, free: 128 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007463/8.459, allocations: 355.2 kB / 3.733 GB, free: 127.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001976/8.459, allocations: 8 kB / 3.733 GB, free: 127.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001473/8.46, allocations: 159.8 kB / 3.733 GB, free: 127.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/8.46, allocations: 84.52 kB / 3.734 GB, free: 127.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.391e-05/8.46, allocations: 39.97 kB / 3.734 GB, free: 127.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008033/8.461, allocations: 0.6318 MB / 3.734 GB, free: 126.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.31e-07/8.461, allocations: 0 / 3.734 GB, free: 126.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001664/8.463, allocations: 483.2 kB / 3.735 GB, free: 126.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.006454/8.469, allocations: 6.083 MB / 3.741 GB, free: 120.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002019/8.472, allocations: 1.158 MB / 3.742 GB, free: 118.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/8.472, allocations: 4 kB / 3.742 GB, free: 118.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008847/8.472, allocations: 0.6059 MB / 3.742 GB, free: 118.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002546/8.475, allocations: 448 kB / 3.743 GB, free: 117.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01535/8.49, allocations: 3.292 MB / 3.746 GB, free: 114.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005804/8.491, allocations: 1.229 MB / 3.747 GB, free: 113.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001753/8.493, allocations: 364.3 kB / 3.747 GB, free: 112.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007677/8.494, allocations: 0.5148 MB / 3.748 GB, free: 112.3 MB / 0.948 GB Notification: Performance of SimCode: time 9.51e-07/8.494, allocations: 0 / 3.748 GB, free: 112.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1021/8.596, allocations: 42.52 MB / 3.79 GB, free: 70 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002129/8.596, allocations: 178.9 kB / 3.79 GB, free: 69.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.414/12.01, allocations: 0 / 3.79 GB, free: 69.8 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)