Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 98.77 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001301/0.001302, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.321/2.321, allocations: 390.3 MB / 0.6653 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003477, allocations: 8 kB / 0.8146 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7067/0.7071, allocations: 142.3 MB / 0.9536 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.1959/0.9031, allocations: 160.8 MB / 1.111 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.00914/0.9123, allocations: 5.042 MB / 1.116 GB, free: 9.965 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001224/0.9135, allocations: 39.69 kB / 1.116 GB, free: 9.926 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002096/0.9157, allocations: 0.7782 MB / 1.116 GB, free: 9.145 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005097/0.9208, allocations: 1.788 MB / 1.118 GB, free: 7.352 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003497/0.9243, allocations: 1.16 MB / 1.119 GB, free: 6.203 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00315/0.9274, allocations: 1.63 MB / 1.121 GB, free: 4.57 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001372/0.9288, allocations: 0.7727 MB / 1.122 GB, free: 3.781 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002038/0.9309, allocations: 0.9578 MB / 1.122 GB, free: 2.82 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001019/0.9319, allocations: 0.6849 MB / 1.123 GB, free: 2.133 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001441/0.9321, allocations: 48 kB / 1.123 GB, free: 2.086 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002665/0.9347, allocations: 0.9282 MB / 1.124 GB, free: 1.156 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0005407/0.9353, allocations: 378.8 kB / 1.124 GB, free: 0.7852 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0004956/0.9358, allocations: 264.9 kB / 1.125 GB, free: 0.5195 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002265/0.9381, allocations: 1.313 MB / 1.126 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.9381, allocations: 4 kB / 1.126 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.793e-06/0.9381, allocations: 0 / 1.126 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.663e-05/0.9382, allocations: 0 / 1.126 GB, free: 15.2 MB / 0.8887 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.004923/0.9431, allocations: 1.665 MB / 1.128 GB, free: 13.48 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.9431, allocations: 8.031 kB / 1.128 GB, free: 13.47 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002174/0.9434, allocations: 139.5 kB / 1.128 GB, free: 13.33 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004414/0.9478, allocations: 0.7473 MB / 1.128 GB, free: 12.58 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001757/0.9496, allocations: 0.8444 MB / 1.129 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.331e-05/0.9497, allocations: 73.98 kB / 1.129 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001854/0.9499, allocations: 83.98 kB / 1.129 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003223/0.9531, allocations: 1.469 MB / 1.131 GB, free: 9.996 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.9531, allocations: 4 kB / 1.131 GB, free: 9.992 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/0.9533, allocations: 32 kB / 1.131 GB, free: 9.961 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.407e-05/0.9533, allocations: 45.98 kB / 1.131 GB, free: 9.918 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004182/0.9575, allocations: 1.584 MB / 1.133 GB, free: 8.332 MB / 0.8887 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.006354/0.9639, allocations: 4.647 MB / 1.137 GB, free: 3.422 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003434/0.9674, allocations: 1.241 MB / 1.138 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004503/0.9678, allocations: 169.7 kB / 1.138 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001902/0.9697, allocations: 0.7458 MB / 1.139 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=82): time 3.046e-06/0.9698, allocations: 0 / 1.139 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of matching and sorting (n=82): time 0.006148/0.9759, allocations: 2.007 MB / 1.141 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/0.976, allocations: 60.06 kB / 1.141 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00159/0.9776, allocations: 1.259 MB / 1.142 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001171/0.9777, allocations: 41.7 kB / 1.142 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004644/0.9782, allocations: 0.5755 MB / 1.143 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002815/0.9785, allocations: 284 kB / 1.143 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.271e-05/0.9786, allocations: 20 kB / 1.143 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.9787, allocations: 337.9 kB / 1.144 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001656/0.9804, allocations: 0.5562 MB / 1.144 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001851/0.9822, allocations: 0.8088 MB / 1.145 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001716/0.984, allocations: 0.6079 MB / 1.146 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.984, allocations: 4 kB / 1.146 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004063/0.988, allocations: 1.526 MB / 1.147 GB, free: 9.012 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/0.9881, allocations: 11.95 kB / 1.147 GB, free: 9 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.9881, allocations: 11.94 kB / 1.147 GB, free: 8.988 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-05/0.9882, allocations: 12 kB / 1.147 GB, free: 8.977 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001505/0.9897, allocations: 296.1 kB / 1.147 GB, free: 8.688 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-05/0.9897, allocations: 15.92 kB / 1.147 GB, free: 8.672 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/0.9913, allocations: 222.8 kB / 1.148 GB, free: 8.453 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/0.9914, allocations: 51.91 kB / 1.148 GB, free: 8.402 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaHigPow.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 () * Number of clocked 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.0006282/0.9921, allocations: 339.5 kB / 1.148 GB, free: 8.062 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000281/0.9924, allocations: 138.3 kB / 1.148 GB, free: 7.926 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004088/0.9965, allocations: 1.479 MB / 1.15 GB, free: 6.434 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.9965, allocations: 8 kB / 1.15 GB, free: 6.426 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.9965, allocations: 0 / 1.15 GB, free: 6.426 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.9965, allocations: 3.984 kB / 1.15 GB, free: 6.422 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006641/1.003, allocations: 2.906 MB / 1.152 GB, free: 3.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-05/1.003, allocations: 7.953 kB / 1.152 GB, free: 3.402 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00134/1.005, allocations: 232 kB / 1.153 GB, free: 3.176 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.597e-05/1.005, allocations: 8 kB / 1.153 GB, free: 3.168 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.392e-05/1.005, allocations: 35.97 kB / 1.153 GB, free: 3.133 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-05/1.005, allocations: 11.98 kB / 1.153 GB, free: 3.121 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.012e-06/1.005, allocations: 7.938 kB / 1.153 GB, free: 3.113 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005896/1.011, allocations: 2.569 MB / 1.155 GB, free: 412 kB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007271/1.011, allocations: 323.2 kB / 1.155 GB, free: 68 kB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003096/1.012, allocations: 27.94 kB / 1.156 GB, free: 40 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/1.013, allocations: 131.9 kB / 1.156 GB, free: 15.91 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/1.013, allocations: 68.38 kB / 1.156 GB, free: 15.84 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.224e-05/1.013, allocations: 43.97 kB / 1.156 GB, free: 15.8 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001281/1.015, allocations: 0.8606 MB / 1.157 GB, free: 14.94 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/1.015, allocations: 0 / 1.157 GB, free: 14.94 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001203/1.016, allocations: 315.7 kB / 1.157 GB, free: 14.63 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 76 * 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.007533/1.023, allocations: 4.685 MB / 1.161 GB, free: 9.969 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003881/1.027, allocations: 1.319 MB / 1.163 GB, free: 8.652 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/1.027, allocations: 0 / 1.163 GB, free: 8.652 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001999/1.029, allocations: 0.6643 MB / 1.163 GB, free: 7.988 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003098/1.032, allocations: 0.5908 MB / 1.164 GB, free: 7.398 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01992/1.052, allocations: 12.6 MB / 1.176 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009797/1.053, allocations: 1.202 MB / 1.177 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001739/1.055, allocations: 354.1 kB / 1.178 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008535/1.056, allocations: 499.2 kB / 1.178 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of SimCode: time 8.21e-07/1.056, allocations: 4 kB / 1.178 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05937/1.115, allocations: 33.19 MB / 1.211 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001955/1.116, allocations: 235.5 kB / 1.211 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.528/3.644, allocations: 4 kB / 1.211 GB, free: 7.273 MB / 0.9669 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat does not exist to compare? outputFormat=mat