Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.479/2.479, allocations: 387.4 MB / 394.9 MB, free: 13.35 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 184.4 kB / 487.4 MB, free: 5.066 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.678/1.678, allocations: 221.5 MB / 0.7824 GB, free: 1.008 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 99.58 kB / 0.9219 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.548e-05/2.557e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2919, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.25/4.542, allocations: 1.873 GB / 3.079 GB, free: 11.08 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/4.543, allocations: 88.7 kB / 3.079 GB, free: 10.99 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.138/8.681, allocations: 1.007 GB / 4.086 GB, free: 259.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.004e-06/8.681, allocations: 0 / 4.086 GB, free: 259.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002068/8.681, allocations: 49.61 kB / 4.086 GB, free: 259.5 MB / 1.151 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.008201/8.689, allocations: 1.84 MB / 4.088 GB, free: 258.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.542e-05/8.689, allocations: 9.562 kB / 4.088 GB, free: 258.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004608/8.694, allocations: 0.69 MB / 4.088 GB, free: 258.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003916/8.698, allocations: 1.041 MB / 4.089 GB, free: 258.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.638e-05/8.698, allocations: 28.77 kB / 4.089 GB, free: 258.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003657/8.698, allocations: 60.94 kB / 4.09 GB, free: 258.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001791/8.7, allocations: 0.832 MB / 4.09 GB, free: 258.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002129/8.702, allocations: 1.16 MB / 4.091 GB, free: 258.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.004e-05/8.702, allocations: 10.41 kB / 4.091 GB, free: 258.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001142/8.702, allocations: 3.969 kB / 4.092 GB, free: 258.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.927e-05/8.702, allocations: 38.22 kB / 4.092 GB, free: 258.2 MB / 1.151 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.008925/8.711, allocations: 5.572 MB / 4.097 GB, free: 255.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/8.713, allocations: 0.8909 MB / 4.098 GB, free: 255.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006335/8.713, allocations: 486.9 kB / 4.098 GB, free: 255.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000766/8.714, allocations: 0.5738 MB / 4.099 GB, free: 254.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008483/8.715, allocations: 0.5797 MB / 4.099 GB, free: 254.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=80): time 3.877e-06/8.715, allocations: 2.562 kB / 4.099 GB, free: 254.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=80): time 0.002419/8.717, allocations: 1.069 MB / 4.1 GB, free: 254.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/8.717, allocations: 62.69 kB / 4.101 GB, free: 254.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001573/8.719, allocations: 0.8475 MB / 4.101 GB, free: 254.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001327/8.719, allocations: 32.81 kB / 4.101 GB, free: 254.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000533/8.72, allocations: 0.5863 MB / 4.102 GB, free: 254.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002677/8.72, allocations: 269.2 kB / 4.102 GB, free: 254 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.138e-05/8.72, allocations: 0 / 4.102 GB, free: 254 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.193e-05/8.72, allocations: 341.5 kB / 4.103 GB, free: 253.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005534/8.721, allocations: 402.9 kB / 4.103 GB, free: 253.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007433/8.721, allocations: 0.6974 MB / 4.104 GB, free: 253.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000737/8.722, allocations: 459.2 kB / 4.104 GB, free: 253.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/8.722, allocations: 6.344 kB / 4.104 GB, free: 253.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001958/8.724, allocations: 1.161 MB / 4.105 GB, free: 253.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/8.724, allocations: 11 kB / 4.105 GB, free: 253.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/8.724, allocations: 15.22 kB / 4.105 GB, free: 253.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.249e-05/8.724, allocations: 11.47 kB / 4.105 GB, free: 253.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/8.726, allocations: 310.2 kB / 4.106 GB, free: 253.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.643e-05/8.726, allocations: 25.23 kB / 4.106 GB, free: 253.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/8.727, allocations: 183.3 kB / 4.106 GB, free: 253.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001481/8.728, allocations: 56.59 kB / 4.106 GB, free: 253.2 MB / 1.151 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.0002535/8.728, allocations: 139.5 kB / 4.106 GB, free: 253.1 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001651/8.729, allocations: 1.01 MB / 4.107 GB, free: 253 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000281/8.73, allocations: 122.1 kB / 4.107 GB, free: 252.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001966/8.732, allocations: 1.15 MB / 4.108 GB, free: 252.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/8.732, allocations: 11.23 kB / 4.108 GB, free: 252.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/8.732, allocations: 3.5 kB / 4.108 GB, free: 252.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/8.732, allocations: 3.938 kB / 4.108 GB, free: 252.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004301/8.736, allocations: 2.578 MB / 4.111 GB, free: 252.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/8.736, allocations: 3.906 kB / 4.111 GB, free: 252.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001315/8.737, allocations: 244.3 kB / 4.111 GB, free: 252.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.631e-05/8.737, allocations: 7.812 kB / 4.111 GB, free: 252.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.249e-05/8.738, allocations: 28.59 kB / 4.111 GB, free: 252.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-05/8.738, allocations: 11.78 kB / 4.111 GB, free: 252.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/8.738, allocations: 7.719 kB / 4.111 GB, free: 252.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0027/8.74, allocations: 2.093 MB / 4.113 GB, free: 251.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006582/8.741, allocations: 327.6 kB / 4.113 GB, free: 251.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002865/8.741, allocations: 11.56 kB / 4.113 GB, free: 251.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001337/8.743, allocations: 130.7 kB / 4.113 GB, free: 251.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/8.743, allocations: 60.94 kB / 4.114 GB, free: 251.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.125e-05/8.743, allocations: 45.02 kB / 4.114 GB, free: 251.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001009/8.744, allocations: 0.6398 MB / 4.114 GB, free: 251.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.51e-07/8.744, allocations: 2.844 kB / 4.114 GB, free: 251.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00183/8.746, allocations: 460.7 kB / 4.115 GB, free: 251.5 MB / 1.151 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.00672/8.752, allocations: 5.769 MB / 4.12 GB, free: 248.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001743/8.754, allocations: 1 MB / 4.121 GB, free: 248.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/8.754, allocations: 3.688 kB / 4.121 GB, free: 248.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008022/8.755, allocations: 0.5126 MB / 4.122 GB, free: 248.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002538/8.758, allocations: 414.8 kB / 4.122 GB, free: 248.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01649/8.774, allocations: 2.941 MB / 4.125 GB, free: 248.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009304/8.775, allocations: 1.209 MB / 4.126 GB, free: 247.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001873/8.777, allocations: 354.6 kB / 4.127 GB, free: 247.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009376/8.778, allocations: 498 kB / 4.127 GB, free: 247.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.062e-06/8.778, allocations: 0 / 4.127 GB, free: 247.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08255/8.86, allocations: 40.43 MB / 4.166 GB, free: 234.1 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002381/8.861, allocations: 186.7 kB / 4.167 GB, free: 233.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.614/12.47, allocations: 0 / 4.167 GB, free: 233.9 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat does not exist to compare? outputFormat=mat