Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_latest_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.001011/0.001011, allocations: 99.16 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.001269/0.001268, allocations: 177.3 kB / 15.95 MB, free: 216 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.358/1.358, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.419/2.419, allocations: 409.2 MB / 0.6838 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003706/0.0003707, allocations: 12 kB / 0.8375 GB, free: 6.559 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7164/0.7168, allocations: 146.8 MB / 0.9809 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.1807/0.8976, allocations: 160.8 MB / 1.138 GB, free: 5.121 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.008728/0.9064, allocations: 5.028 MB / 1.143 GB, free: 84 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001249/0.9077, allocations: 39.69 kB / 1.143 GB, free: 44 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002221/0.9099, allocations: 0.7782 MB / 1.144 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004929/0.9149, allocations: 1.784 MB / 1.145 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003461/0.9183, allocations: 1.173 MB / 1.146 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002842/0.9212, allocations: 1.634 MB / 1.148 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001231/0.9224, allocations: 0.7805 MB / 1.149 GB, free: 9.887 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001928/0.9244, allocations: 0.954 MB / 1.15 GB, free: 8.93 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009606/0.9254, allocations: 0.6771 MB / 1.15 GB, free: 8.25 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001073/0.9255, allocations: 44 kB / 1.15 GB, free: 8.207 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001898/0.9274, allocations: 0.7371 MB / 1.151 GB, free: 7.469 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003658/0.9278, allocations: 378.8 kB / 1.152 GB, free: 7.098 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002831/0.9281, allocations: 265 kB / 1.152 GB, free: 6.832 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00142/0.9295, allocations: 1.22 MB / 1.153 GB, free: 5.609 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.9295, allocations: 0 / 1.153 GB, free: 5.609 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.665e-06/0.9295, allocations: 0 / 1.153 GB, free: 5.609 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.541e-05/0.9295, allocations: 0 / 1.153 GB, free: 5.609 MB / 0.9044 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.004491/0.934, allocations: 1.654 MB / 1.155 GB, free: 3.898 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.9341, allocations: 8.031 kB / 1.155 GB, free: 3.891 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000195/0.9343, allocations: 139.5 kB / 1.155 GB, free: 3.746 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003805/0.9381, allocations: 0.7084 MB / 1.155 GB, free: 3.035 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00155/0.9397, allocations: 0.8328 MB / 1.156 GB, free: 2.145 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.497e-05/0.9397, allocations: 73.94 kB / 1.156 GB, free: 2.074 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000165/0.9399, allocations: 84 kB / 1.156 GB, free: 1.992 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002984/0.9429, allocations: 1.474 MB / 1.158 GB, free: 452 kB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.9429, allocations: 4 kB / 1.158 GB, free: 448 kB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.9431, allocations: 43.98 kB / 1.158 GB, free: 404 kB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.818e-05/0.9431, allocations: 45.92 kB / 1.158 GB, free: 360 kB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003927/0.9471, allocations: 1.538 MB / 1.159 GB, free: 14.81 MB / 0.92 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.00707/0.9541, allocations: 5.139 MB / 1.164 GB, free: 9.391 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003716/0.9579, allocations: 1.315 MB / 1.166 GB, free: 8.066 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004056/0.9583, allocations: 161.7 kB / 1.166 GB, free: 7.891 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001755/0.9601, allocations: 0.7108 MB / 1.167 GB, free: 7.164 MB / 0.92 GB Notification: Performance of pre-optimization done (n=80): time 3.146e-06/0.9601, allocations: 0 / 1.167 GB, free: 7.164 MB / 0.92 GB Notification: Performance of matching and sorting (n=80): time 0.005534/0.9656, allocations: 1.909 MB / 1.168 GB, free: 5.25 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.9657, allocations: 60.06 kB / 1.169 GB, free: 5.176 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001466/0.9672, allocations: 1.235 MB / 1.17 GB, free: 3.934 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.943e-05/0.9673, allocations: 45.7 kB / 1.17 GB, free: 3.883 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004349/0.9677, allocations: 0.5869 MB / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002588/0.968, allocations: 268.1 kB / 1.171 GB, free: 3.023 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.574e-05/0.9681, allocations: 20 kB / 1.171 GB, free: 3.004 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.9682, allocations: 345.9 kB / 1.171 GB, free: 2.66 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001568/0.9698, allocations: 0.5484 MB / 1.171 GB, free: 2.113 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001762/0.9716, allocations: 0.8252 MB / 1.172 GB, free: 1.18 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001623/0.9732, allocations: 0.5925 MB / 1.173 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.9732, allocations: 4 kB / 1.173 GB, free: 0.582 MB / 0.92 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003822/0.977, allocations: 1.506 MB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.9771, allocations: 8 kB / 1.174 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.9771, allocations: 8 kB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/0.9771, allocations: 12.75 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/0.9785, allocations: 303.5 kB / 1.175 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.791e-05/0.9786, allocations: 15.98 kB / 1.175 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001457/0.98, allocations: 222.9 kB / 1.175 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-05/0.9802, allocations: 55.91 kB / 1.175 GB, free: 14.45 MB / 0.9356 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.0005539/0.9807, allocations: 347.6 kB / 1.175 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001764/0.9809, allocations: 134.3 kB / 1.175 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003872/0.9848, allocations: 1.428 MB / 1.177 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.9848, allocations: 8 kB / 1.177 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.9848, allocations: 0 / 1.177 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/0.9848, allocations: 3.984 kB / 1.177 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005816/0.9907, allocations: 2.841 MB / 1.18 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.9907, allocations: 4 kB / 1.18 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001221/0.9919, allocations: 228.2 kB / 1.18 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.157e-05/0.9919, allocations: 8 kB / 1.18 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-05/0.992, allocations: 23.98 kB / 1.18 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.107e-05/0.992, allocations: 15.98 kB / 1.18 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.992, allocations: 7.938 kB / 1.18 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005393/0.9974, allocations: 2.496 MB / 1.182 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005912/0.998, allocations: 299.2 kB / 1.183 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001813/0.9982, allocations: 27.98 kB / 1.183 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/0.9994, allocations: 139.8 kB / 1.183 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.9995, allocations: 64.39 kB / 1.183 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.671e-05/0.9996, allocations: 31.97 kB / 1.183 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001038/1.001, allocations: 0.8444 MB / 1.184 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2e-07/1.001, allocations: 0 / 1.184 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001003/1.002, allocations: 319.6 kB / 1.184 GB, free: 4.941 MB / 0.9356 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.007049/1.009, allocations: 4.551 MB / 1.188 GB, free: 436 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003504/1.012, allocations: 1.298 MB / 1.19 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/1.012, allocations: 0 / 1.19 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001699/1.014, allocations: 0.6483 MB / 1.19 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002504/1.016, allocations: 0.5574 MB / 1.191 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01704/1.034, allocations: 13.36 MB / 1.204 GB, free: 56 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007655/1.034, allocations: 1.199 MB / 1.205 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001481/1.036, allocations: 341.9 kB / 1.205 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007296/1.037, allocations: 499.2 kB / 1.206 GB, free: 14 MB / 0.9669 GB Notification: Performance of SimCode: time 2.094e-06/1.037, allocations: 0 / 1.206 GB, free: 14 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05204/1.089, allocations: 32.14 MB / 1.237 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002144/1.089, allocations: 249.4 kB / 1.237 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.731/3.82, allocations: 3.875 kB / 1.237 GB, free: 14.09 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat does not exist to compare? outputFormat=mat