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.7445/0.7445, allocations: 127.4 MB / 134.9 MB, free: 3.746 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.001062/0.001063, allocations: 176.9 kB / 164.6 MB, free: 6.531 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.766/1.766, allocations: 205.2 MB / 399.5 MB, free: 5.934 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.0009202/0.0009203, allocations: 96.59 kB / 476.7 MB, free: 8.656 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.765e-05/1.767e-05, allocations: 4 kB / 0.5467 GB, free: 60.4 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1739, allocations: 76.76 MB / 0.6216 GB, free: 15.57 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.271/1.445, allocations: 350.4 MB / 0.9638 GB, free: 192.4 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003023/1.445, allocations: 87.94 kB / 0.9639 GB, free: 192.3 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.946/7.391, allocations: 1.438 GB / 2.402 GB, free: 75.74 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.595e-06/7.392, allocations: 0.9688 kB / 2.402 GB, free: 75.74 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002097/7.392, allocations: 54.72 kB / 2.402 GB, free: 75.74 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.005431/7.397, allocations: 1.879 MB / 2.404 GB, free: 75.04 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.888e-05/7.397, allocations: 9.781 kB / 2.404 GB, free: 75.04 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003809/7.401, allocations: 0.6062 MB / 2.404 GB, free: 74.94 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00497/7.406, allocations: 1.5 MB / 2.406 GB, free: 74.6 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.48e-05/7.406, allocations: 32.91 kB / 2.406 GB, free: 74.6 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002323/7.406, allocations: 67.34 kB / 2.406 GB, free: 74.6 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001975/7.408, allocations: 0.8242 MB / 2.407 GB, free: 74.59 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001835/7.41, allocations: 1.056 MB / 2.408 GB, free: 74.38 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.959e-05/7.41, allocations: 9.609 kB / 2.408 GB, free: 74.38 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.136e-05/7.41, allocations: 4.938 kB / 2.408 GB, free: 74.38 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/7.41, allocations: 23.84 kB / 2.408 GB, free: 74.38 MB / 0.6667 GB Warning: The model contains alias variables with conflicting start and/or 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.009422/7.42, allocations: 7.103 MB / 2.415 GB, free: 69.85 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001361/7.421, allocations: 0.8498 MB / 2.415 GB, free: 69.82 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005409/7.422, allocations: 460.3 kB / 2.416 GB, free: 69.81 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001424/7.423, allocations: 2.089 MB / 2.418 GB, free: 67.46 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000799/7.424, allocations: 0.6147 MB / 2.419 GB, free: 67.32 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=88): time 6.422e-06/7.424, allocations: 2.688 kB / 2.419 GB, free: 67.32 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88): time 0.003889/7.428, allocations: 1.398 MB / 2.42 GB, free: 67.18 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.142e-05/7.428, allocations: 140.2 kB / 2.42 GB, free: 67.03 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/7.429, allocations: 0.9447 MB / 2.421 GB, free: 66.88 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.978e-05/7.429, allocations: 30.77 kB / 2.421 GB, free: 66.84 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005765/7.43, allocations: 0.7367 MB / 2.422 GB, free: 66.63 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000262/7.43, allocations: 288.1 kB / 2.422 GB, free: 66.49 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.468e-05/7.43, allocations: 0.7188 kB / 2.422 GB, free: 66.49 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001089/7.431, allocations: 352.6 kB / 2.422 GB, free: 66.18 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005588/7.431, allocations: 418 kB / 2.423 GB, free: 66.18 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007782/7.432, allocations: 0.7022 MB / 2.423 GB, free: 65.85 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001974/7.434, allocations: 0.6793 MB / 2.424 GB, free: 65.84 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/7.434, allocations: 0 / 2.424 GB, free: 65.84 MB / 0.6667 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003274/7.437, allocations: 1.584 MB / 2.426 GB, free: 65.7 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006907/7.438, allocations: 2.238 MB / 2.428 GB, free: 63.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/7.438, allocations: 3.688 kB / 2.428 GB, free: 63.34 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.088e-05/7.438, allocations: 18.23 kB / 2.428 GB, free: 63.34 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/7.439, allocations: 303.8 kB / 2.428 GB, free: 63.34 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.51e-05/7.439, allocations: 12.98 kB / 2.428 GB, free: 63.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001996/7.441, allocations: 245.1 kB / 2.428 GB, free: 63.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001444/7.441, allocations: 65.78 kB / 2.428 GB, free: 63.3 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/7.441, allocations: 3.719 kB / 2.428 GB, free: 63.3 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003024/7.445, allocations: 1.421 MB / 2.43 GB, free: 63.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/7.445, allocations: 3.438 kB / 2.43 GB, free: 63.27 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/7.445, allocations: 10.28 kB / 2.43 GB, free: 63.27 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/7.446, allocations: 295.9 kB / 2.43 GB, free: 63.27 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.54e-05/7.446, allocations: 13.62 kB / 2.43 GB, free: 63.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001864/7.448, allocations: 210.6 kB / 2.43 GB, free: 63.23 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/7.448, allocations: 61.8 kB / 2.43 GB, free: 63.23 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 () * 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.0004367/7.448, allocations: 242.2 kB / 2.431 GB, free: 63.03 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003225/7.451, allocations: 1.388 MB / 2.432 GB, free: 62.89 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002527/7.452, allocations: 149.7 kB / 2.432 GB, free: 62.82 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004388/7.456, allocations: 1.849 MB / 2.434 GB, free: 62.71 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.808e-05/7.456, allocations: 15.33 kB / 2.434 GB, free: 62.71 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/7.456, allocations: 0.75 kB / 2.434 GB, free: 62.71 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.484e-05/7.456, allocations: 6.109 kB / 2.434 GB, free: 62.71 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002782/7.459, allocations: 1.181 MB / 2.435 GB, free: 62.48 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/7.459, allocations: 0 / 2.435 GB, free: 62.48 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001306/7.46, allocations: 227.6 kB / 2.435 GB, free: 62.48 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-05/7.46, allocations: 3.875 kB / 2.435 GB, free: 62.48 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.901e-05/7.46, allocations: 33 kB / 2.435 GB, free: 62.48 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/7.46, allocations: 2.875 kB / 2.435 GB, free: 62.48 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.822e-06/7.46, allocations: 0 / 2.435 GB, free: 62.48 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004364/7.465, allocations: 2.355 MB / 2.438 GB, free: 62.29 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006064/7.465, allocations: 235.3 kB / 2.438 GB, free: 62.09 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002239/7.466, allocations: 13.59 kB / 2.438 GB, free: 62.09 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001237/7.467, allocations: 158.6 kB / 2.438 GB, free: 62.09 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/7.467, allocations: 66 kB / 2.438 GB, free: 62.09 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/7.467, allocations: 49.61 kB / 2.438 GB, free: 62.09 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001106/7.468, allocations: 0.7088 MB / 2.439 GB, free: 61.98 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.3e-07/7.468, allocations: 0 / 2.439 GB, free: 61.98 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002949/7.471, allocations: 0.8849 MB / 2.44 GB, free: 61.86 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 15 * 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.005827/7.477, allocations: 3.699 MB / 2.443 GB, free: 60.98 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002831/7.48, allocations: 2.177 MB / 2.445 GB, free: 60.58 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/7.48, allocations: 2.688 kB / 2.445 GB, free: 60.58 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0008444/7.481, allocations: 0.818 MB / 2.446 GB, free: 60.39 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002753/7.484, allocations: 0.5273 MB / 2.447 GB, free: 60.38 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005919/7.49, allocations: 2.909 MB / 2.45 GB, free: 59.64 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000679/7.49, allocations: 1.306 MB / 2.451 GB, free: 58.92 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002132/7.492, allocations: 483.8 kB / 2.451 GB, free: 58.9 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007514/7.493, allocations: 0.6324 MB / 2.452 GB, free: 58.89 MB / 0.6667 GB Notification: Performance of SimCode: time 1.122e-06/7.493, allocations: 0 / 2.452 GB, free: 58.89 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09091/7.584, allocations: 46.36 MB / 2.497 GB, free: 56.53 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/7.584, allocations: 196.1 kB / 2.497 GB, free: 56.34 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.099/11.68, allocations: 0 / 2.497 GB, free: 56.34 MB / 0.6667 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)