Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7156/0.7156, allocations: 128.7 MB / 143.7 MB, free: 2.312 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001218/0.001218, allocations: 188.2 kB / 173.7 MB, free: 6.121 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.594/1.594, allocations: 205.4 MB / 409 MB, free: 10.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 97.66 kB / 486.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003445/0.0003445, allocations: 13.59 kB / 0.5604 GB, free: 97.45 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1556, allocations: 76.77 MB / 0.6354 GB, free: 30.45 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6708/0.8265, allocations: 350.8 MB / 0.978 GB, free: 6.59 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/0.8269, allocations: 99.69 kB / 0.9781 GB, free: 6.535 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.655/5.482, allocations: 1.45 GB / 2.428 GB, free: 74.23 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.034e-06/5.482, allocations: 0 / 2.428 GB, free: 74.23 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001609/5.482, allocations: 56.45 kB / 2.428 GB, free: 74.21 MB / 0.6667 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.00452/5.486, allocations: 2.205 MB / 2.43 GB, free: 72.6 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/5.486, allocations: 10.94 kB / 2.43 GB, free: 72.6 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001925/5.487, allocations: 159.6 kB / 2.43 GB, free: 72.47 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003089/5.49, allocations: 0.6098 MB / 2.431 GB, free: 72.24 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004043/5.494, allocations: 1.504 MB / 2.432 GB, free: 70.98 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.009e-05/5.494, allocations: 82 kB / 2.432 GB, free: 70.9 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001841/5.494, allocations: 121.6 kB / 2.432 GB, free: 70.78 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003379/5.498, allocations: 1.468 MB / 2.434 GB, free: 69.25 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/5.498, allocations: 3.953 kB / 2.434 GB, free: 69.25 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/5.498, allocations: 40 kB / 2.434 GB, free: 69.21 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/5.498, allocations: 24 kB / 2.434 GB, free: 69.18 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003488/5.501, allocations: 1.342 MB / 2.435 GB, free: 67.84 MB / 0.6667 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.008059/5.509, allocations: 6.501 MB / 2.441 GB, free: 60.9 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003267/5.513, allocations: 1.322 MB / 2.443 GB, free: 59.58 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001429/5.514, allocations: 2.265 MB / 2.445 GB, free: 56.82 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002108/5.516, allocations: 0.9198 MB / 2.446 GB, free: 55.88 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=92): time 3.306e-06/5.516, allocations: 0 / 2.446 GB, free: 55.88 MB / 0.6667 GB Notification: Performance of matching and sorting (n=92): time 0.006229/5.522, allocations: 2.603 MB / 2.448 GB, free: 53.2 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.128e-05/5.522, allocations: 153.2 kB / 2.449 GB, free: 53.02 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001637/5.524, allocations: 1.075 MB / 2.45 GB, free: 51.93 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001366/5.524, allocations: 45.7 kB / 2.45 GB, free: 51.88 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006408/5.525, allocations: 0.7382 MB / 2.45 GB, free: 51.14 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002659/5.525, allocations: 303.8 kB / 2.451 GB, free: 50.84 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.643e-05/5.525, allocations: 16 kB / 2.451 GB, free: 50.83 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001166/5.525, allocations: 353.8 kB / 2.451 GB, free: 50.48 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001401/5.527, allocations: 0.6136 MB / 2.452 GB, free: 49.87 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001566/5.528, allocations: 0.9169 MB / 2.452 GB, free: 48.82 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001468/5.53, allocations: 0.7489 MB / 2.453 GB, free: 48.06 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/5.53, allocations: 0 / 2.453 GB, free: 48.06 MB / 0.6667 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003725/5.534, allocations: 1.902 MB / 2.455 GB, free: 46.14 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004825/5.534, allocations: 2.254 MB / 2.457 GB, free: 43.67 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/5.534, allocations: 8 kB / 2.457 GB, free: 43.66 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.562e-05/5.534, allocations: 8 kB / 2.457 GB, free: 43.65 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/5.535, allocations: 311.5 kB / 2.458 GB, free: 43.35 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-05/5.535, allocations: 15.94 kB / 2.458 GB, free: 43.33 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001911/5.537, allocations: 258.8 kB / 2.458 GB, free: 43.08 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001496/5.538, allocations: 67.61 kB / 2.458 GB, free: 43.02 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/5.538, allocations: 4 kB / 2.458 GB, free: 43.01 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003328/5.541, allocations: 1.735 MB / 2.46 GB, free: 41.26 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/5.541, allocations: 8 kB / 2.46 GB, free: 41.25 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/5.541, allocations: 8 kB / 2.46 GB, free: 41.25 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/5.542, allocations: 290.2 kB / 2.46 GB, free: 40.96 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/5.542, allocations: 15.94 kB / 2.46 GB, free: 40.95 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001775/5.544, allocations: 238.9 kB / 2.46 GB, free: 40.71 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/5.544, allocations: 59.97 kB / 2.46 GB, free: 40.66 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (116): * Single equations (assignments): 113 * 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.0009409/5.545, allocations: 0.5027 MB / 2.461 GB, free: 40.13 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002451/5.545, allocations: 166 kB / 2.461 GB, free: 39.96 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004401/5.55, allocations: 2.412 MB / 2.463 GB, free: 37.56 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.347e-05/5.55, allocations: 15.98 kB / 2.463 GB, free: 37.54 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/5.55, allocations: 4 kB / 2.463 GB, free: 37.54 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/5.55, allocations: 3.984 kB / 2.463 GB, free: 37.54 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00188/5.552, allocations: 1.38 MB / 2.465 GB, free: 36.12 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/5.552, allocations: 0 / 2.465 GB, free: 36.12 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001138/5.553, allocations: 227.7 kB / 2.465 GB, free: 35.9 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.772e-06/5.553, allocations: 4 kB / 2.465 GB, free: 35.9 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.304e-05/5.553, allocations: 43.97 kB / 2.465 GB, free: 35.86 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.7e-06/5.553, allocations: 4 kB / 2.465 GB, free: 35.85 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/5.553, allocations: 0 / 2.465 GB, free: 35.85 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00534/5.558, allocations: 3.047 MB / 2.468 GB, free: 32.77 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004959/5.559, allocations: 250.8 kB / 2.468 GB, free: 32.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000239/5.559, allocations: 31.94 kB / 2.468 GB, free: 32.47 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/5.56, allocations: 179.8 kB / 2.468 GB, free: 32.3 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/5.56, allocations: 64.89 kB / 2.468 GB, free: 32.23 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/5.56, allocations: 51.97 kB / 2.468 GB, free: 32.18 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001081/5.561, allocations: 0.851 MB / 2.469 GB, free: 31.34 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.1e-07/5.561, allocations: 4 kB / 2.469 GB, free: 31.33 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002345/5.564, allocations: 0.9205 MB / 2.47 GB, free: 30.41 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (heaHigPow.outCon.T,heaHigPowOut.T,cooLimPowOut.T,cooLimPow.outCon.T,heaCooUnl.outCon.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 (TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 18 * 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.006886/5.571, allocations: 4.364 MB / 2.474 GB, free: 26.17 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004845/5.576, allocations: 2.794 MB / 2.477 GB, free: 23.31 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/5.576, allocations: 0 / 2.477 GB, free: 23.31 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001655/5.577, allocations: 1.074 MB / 2.478 GB, free: 22.2 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0027/5.58, allocations: 0.614 MB / 2.479 GB, free: 21.6 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01694/5.597, allocations: 14.23 MB / 2.493 GB, free: 6.91 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007299/5.598, allocations: 1.302 MB / 2.494 GB, free: 5.582 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001844/5.6, allocations: 420.5 kB / 2.494 GB, free: 5.195 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008257/5.6, allocations: 0.6671 MB / 2.495 GB, free: 4.527 MB / 0.6667 GB Notification: Performance of SimCode: time 1.092e-06/5.6, allocations: 4 kB / 2.495 GB, free: 4.523 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4527/6.053, allocations: 52.14 MB / 2.546 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001456/6.053, allocations: 237.9 kB / 2.546 GB, free: 102 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.713/9.767, allocations: 0 / 2.546 GB, free: 102 MB / 0.6823 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe 2>&1)