Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.482/2.482, allocations: 393.5 MB / 408.4 MB, free: 10.97 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.001602/0.001602, allocations: 168 kB / 0.4901 GB, free: 2.215 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.695/1.695, allocations: 223.1 MB / 0.7992 GB, free: 14.61 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 106 kB / 0.9396 GB, free: 1.773 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003627, allocations: 14.34 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3663, allocations: 143 MB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.285/1.651, allocations: 402.3 MB / 1.622 GB, free: 10.32 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003187/1.651, allocations: 88.2 kB / 1.622 GB, free: 10.27 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.496/5.147, allocations: 0.9549 GB / 2.577 GB, free: 184.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.194e-06/5.147, allocations: 0 / 2.577 GB, free: 184.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000295/5.148, allocations: 53.94 kB / 2.577 GB, free: 184.2 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.006339/5.154, allocations: 2.181 MB / 2.579 GB, free: 182 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/5.154, allocations: 12.03 kB / 2.579 GB, free: 182 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005441/5.155, allocations: 152.5 kB / 2.579 GB, free: 181.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003549/5.158, allocations: 0.6078 MB / 2.58 GB, free: 181.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004789/5.163, allocations: 1.452 MB / 2.581 GB, free: 179.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/5.163, allocations: 82 kB / 2.582 GB, free: 179.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004338/5.164, allocations: 104 kB / 2.582 GB, free: 179.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003427/5.167, allocations: 1.361 MB / 2.583 GB, free: 178.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.281e-05/5.167, allocations: 352 / 2.583 GB, free: 178.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001352/5.167, allocations: 47.95 kB / 2.583 GB, free: 178.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.005e-05/5.167, allocations: 31.03 kB / 2.583 GB, free: 178.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003312/5.171, allocations: 1.272 MB / 2.584 GB, free: 176.9 MB / 1.167 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.00979/5.18, allocations: 6.407 MB / 2.591 GB, free: 170 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002875/5.183, allocations: 1.278 MB / 2.592 GB, free: 168.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00146/5.185, allocations: 2.267 MB / 2.594 GB, free: 166 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00166/5.187, allocations: 0.8521 MB / 2.595 GB, free: 165.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=100): time 4.328e-06/5.187, allocations: 0 / 2.595 GB, free: 165.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=100): time 0.005272/5.192, allocations: 2.496 MB / 2.597 GB, free: 162.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.798e-05/5.192, allocations: 141.5 kB / 2.597 GB, free: 162.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001894/5.194, allocations: 1.038 MB / 2.598 GB, free: 161.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001326/5.194, allocations: 49.7 kB / 2.598 GB, free: 161.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005726/5.195, allocations: 0.6899 MB / 2.599 GB, free: 160.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003061/5.195, allocations: 339.1 kB / 2.599 GB, free: 160.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.477e-05/5.195, allocations: 16 kB / 2.599 GB, free: 160.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.107e-05/5.195, allocations: 345.9 kB / 2.6 GB, free: 159.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001364/5.196, allocations: 0.5835 MB / 2.6 GB, free: 159.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001489/5.198, allocations: 0.8292 MB / 2.601 GB, free: 158.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001468/5.199, allocations: 0.7029 MB / 2.602 GB, free: 157.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/5.199, allocations: 4 kB / 2.602 GB, free: 157.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004001/5.203, allocations: 1.808 MB / 2.604 GB, free: 155.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000478/5.204, allocations: 1.725 MB / 2.605 GB, free: 153.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.749e-05/5.204, allocations: 4 kB / 2.605 GB, free: 153.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.425e-05/5.204, allocations: 12 kB / 2.605 GB, free: 153.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/5.205, allocations: 283.6 kB / 2.606 GB, free: 153.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.212e-05/5.205, allocations: 16 kB / 2.606 GB, free: 153.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001983/5.207, allocations: 234.9 kB / 2.606 GB, free: 153.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001925/5.207, allocations: 59.97 kB / 2.606 GB, free: 153.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/5.207, allocations: 0 / 2.606 GB, free: 153.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00352/5.211, allocations: 1.715 MB / 2.608 GB, free: 151.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/5.211, allocations: 8 kB / 2.608 GB, free: 151.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/5.211, allocations: 8 kB / 2.608 GB, free: 151.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/5.212, allocations: 275.9 kB / 2.608 GB, free: 151.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.017e-05/5.212, allocations: 15.94 kB / 2.608 GB, free: 151.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001904/5.214, allocations: 234.9 kB / 2.608 GB, free: 151 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001592/5.214, allocations: 67.66 kB / 2.608 GB, free: 151 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 3 * 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.0009897/5.215, allocations: 0.4958 MB / 2.609 GB, free: 150.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005087/5.216, allocations: 158.1 kB / 2.609 GB, free: 150.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005054/5.221, allocations: 2.371 MB / 2.611 GB, free: 147.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.471e-05/5.221, allocations: 15.98 kB / 2.611 GB, free: 147.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/5.221, allocations: 3.953 kB / 2.611 GB, free: 147.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/5.221, allocations: 3.984 kB / 2.611 GB, free: 147.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007878/5.229, allocations: 3.737 MB / 2.615 GB, free: 144 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.429e-05/5.229, allocations: 4 kB / 2.615 GB, free: 144 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001107/5.23, allocations: 231.9 kB / 2.615 GB, free: 143.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.8e-05/5.23, allocations: 4 kB / 2.615 GB, free: 143.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001167/5.23, allocations: 43.97 kB / 2.615 GB, free: 143.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.306e-05/5.23, allocations: 11.56 kB / 2.615 GB, free: 143.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/5.23, allocations: 7.875 kB / 2.615 GB, free: 143.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006068/5.236, allocations: 3.244 MB / 2.618 GB, free: 140.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00119/5.237, allocations: 406.5 kB / 2.619 GB, free: 140 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004847/5.238, allocations: 28 kB / 2.619 GB, free: 140 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001661/5.24, allocations: 171.8 kB / 2.619 GB, free: 139.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/5.24, allocations: 68.84 kB / 2.619 GB, free: 139.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/5.24, allocations: 67.95 kB / 2.619 GB, free: 139.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00147/5.241, allocations: 0.8103 MB / 2.62 GB, free: 138.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.61e-07/5.241, allocations: 0 / 2.62 GB, free: 138.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003547/5.245, allocations: 0.9166 MB / 2.621 GB, free: 137.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (heaHigPowOut.T,cooLimPowOut.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 19 * 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 Backend phase and start with SimCode phase: time 0.008484/5.254, allocations: 4.874 MB / 2.625 GB, free: 133 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005479/5.259, allocations: 2.756 MB / 2.628 GB, free: 130.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/5.259, allocations: 0 / 2.628 GB, free: 130.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001788/5.261, allocations: 1.09 MB / 2.629 GB, free: 129.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003516/5.264, allocations: 0.5972 MB / 2.63 GB, free: 128.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02101/5.285, allocations: 12.83 MB / 2.642 GB, free: 115.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009376/5.286, allocations: 1.302 MB / 2.644 GB, free: 113.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001934/5.288, allocations: 427.4 kB / 2.644 GB, free: 113.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009067/5.289, allocations: 0.6555 MB / 2.645 GB, free: 112.9 MB / 1.167 GB Notification: Performance of SimCode: time 1.112e-06/5.289, allocations: 0 / 2.645 GB, free: 112.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08007/5.369, allocations: 50.07 MB / 2.693 GB, free: 63.65 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001747/5.37, allocations: 229.4 kB / 2.694 GB, free: 63.41 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.786/9.155, allocations: 3.938 kB / 2.694 GB, free: 63.41 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_res.mat does not exist to compare? outputFormat=mat