Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.755/1.755, allocations: 289.9 MB / 297.4 MB, free: 6.395 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.001297/0.001297, allocations: 184.8 kB / 366.7 MB, free: 1.68 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.143/2.143, allocations: 205.2 MB / 0.626 GB, free: 7.156 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.001093/0.001093, allocations: 77.23 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.547e-05/3.545e-05, allocations: 8 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8145/0.8146, allocations: 116.3 MB / 0.9733 GB, free: 76.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.323/6.138, allocations: 2.068 GB / 3.041 GB, free: 15.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/6.138, allocations: 85.3 kB / 3.042 GB, free: 15.45 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.529/8.667, allocations: 0.6722 GB / 3.714 GB, free: 78.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.454e-06/8.667, allocations: 0 / 3.714 GB, free: 78.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002328/8.667, allocations: 51.91 kB / 3.714 GB, free: 78.25 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.007481/8.674, allocations: 1.751 MB / 3.716 GB, free: 76.45 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/8.675, allocations: 8.031 kB / 3.716 GB, free: 76.44 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005439/8.68, allocations: 0.8839 MB / 3.716 GB, free: 75.55 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00349/8.683, allocations: 1.11 MB / 3.717 GB, free: 74.39 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.95e-05/8.684, allocations: 28 kB / 3.717 GB, free: 74.36 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002183/8.684, allocations: 63.91 kB / 3.718 GB, free: 74.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001849/8.686, allocations: 1.086 MB / 3.719 GB, free: 73.21 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/8.687, allocations: 1.134 MB / 3.72 GB, free: 72.05 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/8.687, allocations: 0 / 3.72 GB, free: 72.05 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.96e-05/8.688, allocations: 7.938 kB / 3.72 GB, free: 72.04 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.023e-05/8.688, allocations: 57.97 kB / 3.72 GB, free: 71.98 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.007609/8.695, allocations: 4.794 MB / 3.724 GB, free: 66.98 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001335/8.697, allocations: 1.069 MB / 3.726 GB, free: 65.89 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000666/8.697, allocations: 0.5773 MB / 3.726 GB, free: 65.31 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001111/8.698, allocations: 0.9411 MB / 3.727 GB, free: 64.19 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008673/8.699, allocations: 0.6797 MB / 3.728 GB, free: 63.49 MB / 0.948 GB Notification: Performance of pre-optimization done (n=95): time 3.116e-06/8.699, allocations: 0 / 3.728 GB, free: 63.49 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.003059/8.702, allocations: 1.291 MB / 3.729 GB, free: 62.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/8.702, allocations: 68.17 kB / 3.729 GB, free: 62.11 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/8.703, allocations: 0.8184 MB / 3.73 GB, free: 61.28 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001484/8.704, allocations: 29.7 kB / 3.73 GB, free: 61.24 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003822/8.704, allocations: 0.559 MB / 3.73 GB, free: 60.68 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002516/8.704, allocations: 319.3 kB / 3.731 GB, free: 60.36 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.846e-05/8.704, allocations: 0 / 3.731 GB, free: 60.36 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.742e-05/8.704, allocations: 345.9 kB / 3.731 GB, free: 60.02 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006518/8.705, allocations: 474.4 kB / 3.731 GB, free: 59.55 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007193/8.706, allocations: 0.7294 MB / 3.732 GB, free: 58.73 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007302/8.707, allocations: 0.5141 MB / 3.733 GB, free: 58.21 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/8.707, allocations: 0 / 3.733 GB, free: 58.21 MB / 0.948 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001986/8.709, allocations: 1.277 MB / 3.734 GB, free: 56.93 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/8.709, allocations: 4 kB / 3.734 GB, free: 56.93 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/8.709, allocations: 4 kB / 3.734 GB, free: 56.92 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.673e-05/8.709, allocations: 12 kB / 3.734 GB, free: 56.91 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001807/8.71, allocations: 347.6 kB / 3.734 GB, free: 56.57 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/8.71, allocations: 15.94 kB / 3.734 GB, free: 56.55 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001797/8.712, allocations: 215.1 kB / 3.734 GB, free: 56.34 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001366/8.712, allocations: 55.95 kB / 3.735 GB, free: 56.29 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.0002983/8.713, allocations: 142.9 kB / 3.735 GB, free: 56.14 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001806/8.715, allocations: 1.166 MB / 3.736 GB, free: 54.97 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001906/8.715, allocations: 122.5 kB / 3.736 GB, free: 54.85 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002264/8.717, allocations: 1.365 MB / 3.737 GB, free: 53.48 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/8.717, allocations: 8 kB / 3.737 GB, free: 53.47 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/8.717, allocations: 7.953 kB / 3.737 GB, free: 53.46 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/8.717, allocations: 7.969 kB / 3.737 GB, free: 53.45 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00434/8.721, allocations: 2.891 MB / 3.74 GB, free: 50.47 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/8.721, allocations: 4 kB / 3.74 GB, free: 50.46 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001732/8.723, allocations: 320 kB / 3.74 GB, free: 50.15 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.41e-05/8.723, allocations: 11.94 kB / 3.74 GB, free: 50.14 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.467e-05/8.723, allocations: 23.97 kB / 3.74 GB, free: 50.12 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.744e-06/8.723, allocations: 11.98 kB / 3.74 GB, free: 50.11 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/8.723, allocations: 7.938 kB / 3.74 GB, free: 50.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002963/8.726, allocations: 2.392 MB / 3.743 GB, free: 47.55 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006858/8.727, allocations: 355.2 kB / 3.743 GB, free: 47.19 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002061/8.727, allocations: 8 kB / 3.743 GB, free: 47.18 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001457/8.729, allocations: 171.7 kB / 3.743 GB, free: 47.01 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/8.729, allocations: 72.64 kB / 3.743 GB, free: 46.94 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.973e-05/8.729, allocations: 51.89 kB / 3.743 GB, free: 46.89 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008262/8.73, allocations: 0.624 MB / 3.744 GB, free: 46.26 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.31e-07/8.73, allocations: 0 / 3.744 GB, free: 46.26 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001785/8.732, allocations: 479.3 kB / 3.744 GB, free: 45.79 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.006363/8.738, allocations: 6.077 MB / 3.75 GB, free: 39.57 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002018/8.74, allocations: 1.163 MB / 3.752 GB, free: 38.41 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/8.74, allocations: 384 / 3.752 GB, free: 38.41 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009103/8.741, allocations: 0.6118 MB / 3.752 GB, free: 37.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002642/8.744, allocations: 440.1 kB / 3.753 GB, free: 37.37 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0158/8.759, allocations: 3.288 MB / 3.756 GB, free: 33.98 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000605/8.76, allocations: 1.227 MB / 3.757 GB, free: 32.72 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001728/8.762, allocations: 368.3 kB / 3.757 GB, free: 32.36 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008329/8.763, allocations: 0.5109 MB / 3.758 GB, free: 31.85 MB / 0.948 GB Notification: Performance of SimCode: time 1.293e-06/8.763, allocations: 0 / 3.758 GB, free: 31.85 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7837/9.546, allocations: 42.51 MB / 3.799 GB, free: 190.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002584/9.547, allocations: 171.6 kB / 3.8 GB, free: 190.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.635/13.18, allocations: 3.281 kB / 3.8 GB, free: 190.2 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)