Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",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.776/2.776, allocations: 284.9 MB / 292.4 MB, free: 10.55 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.001556/0.001556, allocations: 180.8 kB / 360.6 MB, free: 7.293 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.266/2.266, allocations: 205.3 MB / 0.6191 GB, free: 12.22 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.001034/0.001034, allocations: 85.02 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.409e-05/2.419e-05, allocations: 4 kB / 0.8508 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8407/0.8408, allocations: 115.3 MB / 0.9634 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.044/6.885, allocations: 2.067 GB / 3.03 GB, free: 51.23 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/6.886, allocations: 85.34 kB / 3.031 GB, free: 51.18 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.5/12.39, allocations: 0.9986 GB / 4.029 GB, free: 154.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.564e-06/12.39, allocations: 0 / 4.029 GB, free: 154.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001684/12.39, allocations: 45.45 kB / 4.029 GB, free: 154 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.01019/12.4, allocations: 1.72 MB / 4.031 GB, free: 152.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/12.4, allocations: 12.03 kB / 4.031 GB, free: 152.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006981/12.4, allocations: 0.6918 MB / 4.032 GB, free: 151.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00448/12.41, allocations: 1.027 MB / 4.033 GB, free: 150.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.321e-05/12.41, allocations: 28 kB / 4.033 GB, free: 150.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003843/12.41, allocations: 56 kB / 4.033 GB, free: 150.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002812/12.41, allocations: 0.9176 MB / 4.034 GB, free: 149.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002849/12.41, allocations: 1.127 MB / 4.035 GB, free: 148.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.228e-05/12.41, allocations: 7.938 kB / 4.035 GB, free: 148.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001541/12.41, allocations: 0 / 4.035 GB, free: 148.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001116/12.41, allocations: 45.98 kB / 4.035 GB, free: 148.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.01279/12.43, allocations: 5.572 MB / 4.04 GB, free: 142.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002199/12.43, allocations: 0.8959 MB / 4.041 GB, free: 141.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001087/12.43, allocations: 479.3 kB / 4.041 GB, free: 141.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001119/12.43, allocations: 0.5849 MB / 4.042 GB, free: 140.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001395/12.43, allocations: 0.5744 MB / 4.043 GB, free: 139.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=80): time 6.172e-06/12.43, allocations: 0 / 4.043 GB, free: 139.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=80): time 0.00373/12.44, allocations: 1.068 MB / 4.044 GB, free: 138.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/12.44, allocations: 60.19 kB / 4.044 GB, free: 138.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001662/12.44, allocations: 0.86 MB / 4.045 GB, free: 137.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002879/12.44, allocations: 33.7 kB / 4.045 GB, free: 137.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000575/12.44, allocations: 0.5934 MB / 4.045 GB, free: 137.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003689/12.44, allocations: 268.2 kB / 4.045 GB, free: 136.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/12.44, allocations: 4 kB / 4.045 GB, free: 136.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.816e-05/12.44, allocations: 345.9 kB / 4.046 GB, free: 136.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009795/12.44, allocations: 406.4 kB / 4.046 GB, free: 136.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/12.44, allocations: 0.7184 MB / 4.047 GB, free: 135.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/12.44, allocations: 468.4 kB / 4.047 GB, free: 134.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-06/12.44, allocations: 0 / 4.047 GB, free: 134.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003332/12.45, allocations: 1.158 MB / 4.048 GB, free: 133.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.094e-05/12.45, allocations: 8.969 kB / 4.048 GB, free: 133.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/12.45, allocations: 7.984 kB / 4.048 GB, free: 133.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.665e-05/12.45, allocations: 16 kB / 4.048 GB, free: 133.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002942/12.45, allocations: 307.5 kB / 4.049 GB, free: 133.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.526e-05/12.45, allocations: 19.92 kB / 4.049 GB, free: 133.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002895/12.45, allocations: 194.8 kB / 4.049 GB, free: 133.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003185/12.45, allocations: 63.92 kB / 4.049 GB, free: 133.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (117): * Single equations (assignments): 117 * 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.0003632/12.45, allocations: 148.6 kB / 4.049 GB, free: 132.9 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002911/12.46, allocations: 1.006 MB / 4.05 GB, free: 131.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003234/12.46, allocations: 118.5 kB / 4.05 GB, free: 131.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00332/12.46, allocations: 1.153 MB / 4.051 GB, free: 130.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/12.46, allocations: 12 kB / 4.051 GB, free: 130.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/12.46, allocations: 6.578 kB / 4.051 GB, free: 130.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.469e-05/12.46, allocations: 3.984 kB / 4.051 GB, free: 130.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007191/12.47, allocations: 2.575 MB / 4.054 GB, free: 128 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/12.47, allocations: 4.5 kB / 4.054 GB, free: 128 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00266/12.47, allocations: 247.6 kB / 4.054 GB, free: 127.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.909e-05/12.47, allocations: 11.95 kB / 4.054 GB, free: 127.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001928/12.47, allocations: 31.95 kB / 4.054 GB, free: 127.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.207e-05/12.47, allocations: 7.938 kB / 4.054 GB, free: 127.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.094e-06/12.47, allocations: 7.281 kB / 4.054 GB, free: 127.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004428/12.47, allocations: 2.093 MB / 4.056 GB, free: 125.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001124/12.48, allocations: 327.4 kB / 4.057 GB, free: 125.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00036/12.48, allocations: 15.98 kB / 4.057 GB, free: 125.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002428/12.48, allocations: 131.8 kB / 4.057 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002226/12.48, allocations: 68.38 kB / 4.057 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001596/12.48, allocations: 39.97 kB / 4.057 GB, free: 124.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00124/12.48, allocations: 0.6487 MB / 4.057 GB, free: 124.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.81e-07/12.48, allocations: 0 / 4.057 GB, free: 124.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002537/12.48, allocations: 451.3 kB / 4.058 GB, free: 123.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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 (86): * Single equations (assignments): 80 * 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.008688/12.49, allocations: 5.773 MB / 4.064 GB, free: 118.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002784/12.49, allocations: 0.9932 MB / 4.064 GB, free: 117.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/12.49, allocations: 0 / 4.064 GB, free: 117.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001346/12.5, allocations: 0.5179 MB / 4.065 GB, free: 116.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003929/12.5, allocations: 439.9 kB / 4.065 GB, free: 116.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0285/12.53, allocations: 2.946 MB / 4.068 GB, free: 113.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008478/12.53, allocations: 1.213 MB / 4.069 GB, free: 111.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00268/12.53, allocations: 352 kB / 4.07 GB, free: 111.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00142/12.53, allocations: 0.4992 MB / 4.07 GB, free: 111 MB / 0.948 GB Notification: Performance of SimCode: time 1.873e-06/12.53, allocations: 0 / 4.07 GB, free: 111 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1206/12.65, allocations: 40.94 MB / 4.11 GB, free: 70.21 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002632/12.65, allocations: 196.2 kB / 4.11 GB, free: 70.01 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.347/17, allocations: 0 / 4.11 GB, free: 70.01 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)