Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.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,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.48/1.48, allocations: 249.5 MB / 257 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001121/0.001121, allocations: 179.7 kB / 316.3 MB, free: 3.234 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.487/1.487, allocations: 205.3 MB / 0.5671 GB, free: 15.8 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.00106/0.00106, allocations: 93.41 kB / 0.6714 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.396e-05/2.431e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2147, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.909/6.124, allocations: 2.186 GB / 3.072 GB, free: 221.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003027/6.124, allocations: 87.95 kB / 3.072 GB, free: 221.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.466/8.591, allocations: 0.65 GB / 3.722 GB, free: 174.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.433e-06/8.591, allocations: 0 / 3.722 GB, free: 174.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001189/8.591, allocations: 47.17 kB / 3.722 GB, free: 174.3 MB / 0.8698 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.005979/8.597, allocations: 1.745 MB / 3.723 GB, free: 173.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/8.597, allocations: 13.25 kB / 3.723 GB, free: 173.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005106/8.602, allocations: 0.8879 MB / 3.724 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003296/8.605, allocations: 1.108 MB / 3.725 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.125e-05/8.605, allocations: 29.69 kB / 3.725 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001779/8.605, allocations: 55.44 kB / 3.725 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001731/8.607, allocations: 1.086 MB / 3.727 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001632/8.609, allocations: 1.148 MB / 3.728 GB, free: 173.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/8.609, allocations: 0 / 3.728 GB, free: 173.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.753e-05/8.609, allocations: 7.531 kB / 3.728 GB, free: 173.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.148e-05/8.609, allocations: 48.31 kB / 3.728 GB, free: 173.1 MB / 0.8698 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.007418/8.616, allocations: 4.806 MB / 3.732 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001365/8.618, allocations: 1.075 MB / 3.733 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006797/8.619, allocations: 0.5696 MB / 3.734 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001046/8.62, allocations: 0.9428 MB / 3.735 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008793/8.62, allocations: 0.6866 MB / 3.736 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=95): time 2.655e-06/8.62, allocations: 0 / 3.736 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=95): time 0.002814/8.623, allocations: 1.285 MB / 3.737 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/8.623, allocations: 65.84 kB / 3.737 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/8.624, allocations: 0.8212 MB / 3.738 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000129/8.625, allocations: 29.55 kB / 3.738 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003917/8.625, allocations: 0.5689 MB / 3.738 GB, free: 169.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002619/8.625, allocations: 308.2 kB / 3.739 GB, free: 169.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.679e-05/8.625, allocations: 0 / 3.739 GB, free: 169.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.992e-05/8.625, allocations: 344 kB / 3.739 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006141/8.626, allocations: 475.9 kB / 3.739 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007583/8.627, allocations: 0.7192 MB / 3.74 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007421/8.627, allocations: 0.5078 MB / 3.741 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/8.628, allocations: 5.844 kB / 3.741 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001929/8.629, allocations: 1.273 MB / 3.742 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/8.629, allocations: 6.375 kB / 3.742 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/8.629, allocations: 7.641 kB / 3.742 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/8.63, allocations: 11.62 kB / 3.742 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001757/8.631, allocations: 357 kB / 3.742 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/8.631, allocations: 9.75 kB / 3.742 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001723/8.633, allocations: 218.4 kB / 3.742 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/8.633, allocations: 54.89 kB / 3.742 GB, free: 168.8 MB / 0.8698 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.000246/8.633, allocations: 137 kB / 3.743 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001708/8.635, allocations: 1.172 MB / 3.744 GB, free: 168.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001641/8.635, allocations: 117.3 kB / 3.744 GB, free: 168.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002165/8.637, allocations: 1.369 MB / 3.745 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/8.638, allocations: 6.844 kB / 3.745 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/8.638, allocations: 6.875 kB / 3.745 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/8.638, allocations: 10.02 kB / 3.745 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004189/8.642, allocations: 2.888 MB / 3.748 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/8.642, allocations: 3.719 kB / 3.748 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001668/8.643, allocations: 315.6 kB / 3.748 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.18e-05/8.643, allocations: 6.5 kB / 3.748 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.25e-05/8.644, allocations: 29.77 kB / 3.748 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-06/8.644, allocations: 11.44 kB / 3.748 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/8.644, allocations: 5.531 kB / 3.748 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002807/8.646, allocations: 2.398 MB / 3.751 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005909/8.647, allocations: 355.7 kB / 3.751 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000189/8.647, allocations: 11.09 kB / 3.751 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001417/8.649, allocations: 166.8 kB / 3.751 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/8.649, allocations: 72.09 kB / 3.751 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-05/8.649, allocations: 52.88 kB / 3.751 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007333/8.65, allocations: 0.6266 MB / 3.752 GB, free: 166 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.71e-07/8.65, allocations: 0 / 3.752 GB, free: 166 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001501/8.651, allocations: 470.8 kB / 3.752 GB, free: 165.9 MB / 0.8698 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.005799/8.657, allocations: 6.076 MB / 3.758 GB, free: 162.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001743/8.659, allocations: 1.152 MB / 3.759 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/8.659, allocations: 6.969 kB / 3.76 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007945/8.66, allocations: 0.6082 MB / 3.76 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00235/8.662, allocations: 459.9 kB / 3.761 GB, free: 161.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01472/8.677, allocations: 3.291 MB / 3.764 GB, free: 160.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005881/8.677, allocations: 1.218 MB / 3.765 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001705/8.679, allocations: 374.7 kB / 3.765 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007764/8.68, allocations: 0.5121 MB / 3.766 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.523e-06/8.68, allocations: 0 / 3.766 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07412/8.754, allocations: 42.51 MB / 3.807 GB, free: 131.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001578/8.754, allocations: 179 kB / 3.807 GB, free: 131.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.313/12.07, allocations: 0 / 3.807 GB, free: 131.6 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)