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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009599/0.0009599, allocations: 103 kB / 15.06 MB, free: 1.098 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.0009936/0.0009935, allocations: 173.3 kB / 15.95 MB, free: 212 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.327/1.327, allocations: 223.2 MB / 239.9 MB, free: 5.453 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.357/2.357, allocations: 390.3 MB / 0.6653 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003137/0.0003138, allocations: 8 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6913/0.6916, allocations: 142.3 MB / 0.9536 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.1643/0.856, allocations: 160.8 MB / 1.111 GB, free: 15 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.007895/0.864, allocations: 5.04 MB / 1.116 GB, free: 9.953 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001093/0.8651, allocations: 39.69 kB / 1.116 GB, free: 9.914 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001888/0.867, allocations: 0.7743 MB / 1.116 GB, free: 9.137 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004593/0.8716, allocations: 1.791 MB / 1.118 GB, free: 7.344 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003264/0.8749, allocations: 1.166 MB / 1.119 GB, free: 6.188 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002807/0.8777, allocations: 1.634 MB / 1.121 GB, free: 4.551 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001231/0.8789, allocations: 0.7843 MB / 1.122 GB, free: 3.75 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002083/0.881, allocations: 0.9617 MB / 1.122 GB, free: 2.785 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001148/0.8822, allocations: 0.6694 MB / 1.123 GB, free: 2.113 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.8823, allocations: 48 kB / 1.123 GB, free: 2.066 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00212/0.8845, allocations: 0.7371 MB / 1.124 GB, free: 1.328 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003695/0.8848, allocations: 374.8 kB / 1.124 GB, free: 0.9609 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003316/0.8852, allocations: 261 kB / 1.125 GB, free: 0.6992 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001655/0.8868, allocations: 1.212 MB / 1.126 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.8869, allocations: 0 / 1.126 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.864e-06/0.8869, allocations: 0 / 1.126 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.765e-05/0.8869, allocations: 0 / 1.126 GB, free: 15.48 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.005148/0.892, allocations: 1.658 MB / 1.127 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.215e-05/0.8921, allocations: 12.03 kB / 1.127 GB, free: 13.76 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003815/0.8925, allocations: 131.5 kB / 1.127 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004031/0.8965, allocations: 0.7084 MB / 1.128 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001803/0.8984, allocations: 0.8483 MB / 1.129 GB, free: 12.01 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.227e-05/0.8984, allocations: 66 kB / 1.129 GB, free: 11.95 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001608/0.8986, allocations: 84 kB / 1.129 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003129/0.9018, allocations: 1.478 MB / 1.131 GB, free: 10.31 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.9018, allocations: 7.938 kB / 1.131 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/0.9019, allocations: 32 kB / 1.131 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.2e-05/0.902, allocations: 49.98 kB / 1.131 GB, free: 10.22 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00404/0.906, allocations: 1.534 MB / 1.132 GB, free: 8.688 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.007371/0.9134, allocations: 5.147 MB / 1.137 GB, free: 3.258 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003698/0.9171, allocations: 1.326 MB / 1.138 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004274/0.9176, allocations: 153.7 kB / 1.139 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001891/0.9195, allocations: 0.723 MB / 1.139 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=80): time 3.316e-06/0.9195, allocations: 0 / 1.139 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of matching and sorting (n=80): time 0.005689/0.9252, allocations: 1.901 MB / 1.141 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/0.9253, allocations: 60.06 kB / 1.141 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001545/0.9268, allocations: 1.235 MB / 1.142 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001009/0.9269, allocations: 45.7 kB / 1.142 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004767/0.9274, allocations: 0.5791 MB / 1.143 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002594/0.9277, allocations: 276.1 kB / 1.143 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.883e-05/0.9277, allocations: 16 kB / 1.143 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.9279, allocations: 345.9 kB / 1.144 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001626/0.9295, allocations: 0.5445 MB / 1.144 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001818/0.9314, allocations: 0.8297 MB / 1.145 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001664/0.933, allocations: 0.5925 MB / 1.146 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.933, allocations: 0 / 1.146 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00413/0.9372, allocations: 1.506 MB / 1.147 GB, free: 8.93 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.9372, allocations: 8 kB / 1.147 GB, free: 8.922 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.9372, allocations: 12.81 kB / 1.147 GB, free: 8.91 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-05/0.9373, allocations: 12 kB / 1.147 GB, free: 8.898 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/0.9387, allocations: 311.5 kB / 1.147 GB, free: 8.594 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.137e-05/0.9387, allocations: 19.92 kB / 1.147 GB, free: 8.574 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/0.9402, allocations: 218.7 kB / 1.148 GB, free: 8.359 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.802e-05/0.9403, allocations: 51.97 kB / 1.148 GB, free: 8.309 MB / 0.9044 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.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.0005361/0.9408, allocations: 339.7 kB / 1.148 GB, free: 7.969 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/0.941, allocations: 138.3 kB / 1.148 GB, free: 7.832 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003799/0.9448, allocations: 1.428 MB / 1.15 GB, free: 6.395 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/0.9449, allocations: 8 kB / 1.15 GB, free: 6.387 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.9449, allocations: 0 / 1.15 GB, free: 6.387 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.9449, allocations: 7.984 kB / 1.15 GB, free: 6.379 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005908/0.9508, allocations: 2.826 MB / 1.152 GB, free: 3.445 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.9508, allocations: 7.938 kB / 1.152 GB, free: 3.438 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001226/0.9521, allocations: 228.2 kB / 1.153 GB, free: 3.215 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.305e-05/0.9521, allocations: 8 kB / 1.153 GB, free: 3.207 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.455e-05/0.9522, allocations: 27.98 kB / 1.153 GB, free: 3.18 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.978e-06/0.9522, allocations: 11.92 kB / 1.153 GB, free: 3.168 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.9522, allocations: 4 kB / 1.153 GB, free: 3.164 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005622/0.9578, allocations: 2.484 MB / 1.155 GB, free: 0.5469 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007216/0.9586, allocations: 315.1 kB / 1.155 GB, free: 224 kB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001895/0.9588, allocations: 23.94 kB / 1.155 GB, free: 200 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/0.9599, allocations: 131.9 kB / 1.155 GB, free: 68 kB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.9601, allocations: 68.38 kB / 1.155 GB, free: 0 / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.762e-05/0.9602, allocations: 35.97 kB / 1.156 GB, free: 15.96 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001098/0.9613, allocations: 0.8444 MB / 1.156 GB, free: 15.12 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9613, allocations: 0 / 1.156 GB, free: 15.12 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.00105/0.9624, allocations: 323.5 kB / 1.157 GB, free: 14.8 MB / 0.92 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 (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 (80): * Single equations (assignments): 74 * 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.007198/0.9696, allocations: 4.543 MB / 1.161 GB, free: 10.29 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003997/0.9736, allocations: 1.294 MB / 1.162 GB, free: 9.004 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/0.9736, allocations: 0 / 1.162 GB, free: 9.004 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.00179/0.9754, allocations: 0.6482 MB / 1.163 GB, free: 8.355 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00276/0.9782, allocations: 0.5589 MB / 1.164 GB, free: 7.793 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01757/0.9958, allocations: 13.37 MB / 1.177 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007671/0.9966, allocations: 1.202 MB / 1.178 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001504/0.9981, allocations: 345.9 kB / 1.178 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007195/0.9988, allocations: 495.2 kB / 1.179 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of SimCode: time 7.41e-07/0.9989, allocations: 0 / 1.179 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0591/1.058, allocations: 32.14 MB / 1.21 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001954/1.058, allocations: 243.9 kB / 1.21 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.567/3.625, allocations: 3.938 kB / 1.21 GB, free: 7.934 MB / 0.9669 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