Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.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,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Validation_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Validation_PrescribedOutlet",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.7125/0.7125, allocations: 128.7 MB / 143.7 MB, free: 2.332 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.001076/0.001076, allocations: 184.4 kB / 173.8 MB, free: 6.141 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.584/1.584, allocations: 205.4 MB / 409 MB, free: 10.52 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.0009773/0.0009774, allocations: 89.83 kB / 486.5 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003252/0.0003253, allocations: 13.84 kB / 0.5604 GB, free: 97.51 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1524, allocations: 76.77 MB / 0.6354 GB, free: 30.48 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6963/0.8488, allocations: 350.6 MB / 0.9778 GB, free: 6.984 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/0.8491, allocations: 89.7 kB / 0.9779 GB, free: 6.938 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.158/4.007, allocations: 0.9019 GB / 1.88 GB, free: 98.18 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.916e-06/4.007, allocations: 0 / 1.88 GB, free: 98.18 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0003182/4.007, allocations: 57.05 kB / 1.88 GB, free: 98.17 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.006516/4.014, allocations: 2.197 MB / 1.882 GB, free: 96.98 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/4.014, allocations: 10.22 kB / 1.882 GB, free: 96.98 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004757/4.015, allocations: 157.5 kB / 1.882 GB, free: 96.94 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003392/4.018, allocations: 0.6041 MB / 1.883 GB, free: 96.84 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004321/4.022, allocations: 1.502 MB / 1.884 GB, free: 96.39 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.611e-05/4.022, allocations: 83.36 kB / 1.884 GB, free: 96.38 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000327/4.023, allocations: 113.5 kB / 1.884 GB, free: 96.38 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003706/4.026, allocations: 1.455 MB / 1.886 GB, free: 96.18 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.818e-05/4.026, allocations: 7.75 kB / 1.886 GB, free: 96.18 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/4.027, allocations: 46.05 kB / 1.886 GB, free: 96.18 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.316e-05/4.027, allocations: 27.69 kB / 1.886 GB, free: 96.18 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003788/4.03, allocations: 1.359 MB / 1.887 GB, free: 96.16 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.008049/4.038, allocations: 6.274 MB / 1.893 GB, free: 92.46 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003501/4.042, allocations: 1.33 MB / 1.895 GB, free: 92.43 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001341/4.043, allocations: 2.268 MB / 1.897 GB, free: 89.9 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002258/4.046, allocations: 0.9241 MB / 1.898 GB, free: 89.75 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=95): time 5.069e-06/4.046, allocations: 2.312 kB / 1.898 GB, free: 89.75 MB / 0.6667 GB Notification: Performance of matching and sorting (n=95): time 0.006168/4.052, allocations: 2.644 MB / 1.9 GB, free: 89.22 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/4.052, allocations: 144.9 kB / 1.9 GB, free: 89.06 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001785/4.054, allocations: 1.062 MB / 1.902 GB, free: 88.91 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001234/4.054, allocations: 45.94 kB / 1.902 GB, free: 88.88 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000537/4.054, allocations: 0.7162 MB / 1.902 GB, free: 88.66 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002647/4.055, allocations: 317.7 kB / 1.903 GB, free: 88.46 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.708e-05/4.055, allocations: 17.28 kB / 1.903 GB, free: 88.46 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.607e-05/4.055, allocations: 348.3 kB / 1.903 GB, free: 88.15 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001425/4.056, allocations: 0.6118 MB / 1.904 GB, free: 88.15 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00155/4.058, allocations: 0.8741 MB / 1.904 GB, free: 87.87 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001503/4.059, allocations: 0.7378 MB / 1.905 GB, free: 87.75 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/4.059, allocations: 0 / 1.905 GB, free: 87.75 MB / 0.6667 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003857/4.063, allocations: 1.87 MB / 1.907 GB, free: 87.5 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003454/4.064, allocations: 1.714 MB / 1.909 GB, free: 85.69 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/4.064, allocations: 3.812 kB / 1.909 GB, free: 85.69 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/4.064, allocations: 14.19 kB / 1.909 GB, free: 85.69 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/4.065, allocations: 289.6 kB / 1.909 GB, free: 85.67 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.891e-05/4.065, allocations: 13.78 kB / 1.909 GB, free: 85.67 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/4.067, allocations: 254.2 kB / 1.909 GB, free: 85.61 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001447/4.067, allocations: 63.7 kB / 1.909 GB, free: 85.61 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/4.067, allocations: 9.094 kB / 1.909 GB, free: 85.61 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003319/4.07, allocations: 1.7 MB / 1.911 GB, free: 85.44 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/4.07, allocations: 7.438 kB / 1.911 GB, free: 85.44 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/4.07, allocations: 8.438 kB / 1.911 GB, free: 85.44 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/4.071, allocations: 280.9 kB / 1.911 GB, free: 85.42 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.692e-05/4.071, allocations: 14.77 kB / 1.911 GB, free: 85.42 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/4.073, allocations: 225.1 kB / 1.911 GB, free: 85.37 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001511/4.073, allocations: 59.17 kB / 1.911 GB, free: 85.37 MB / 0.6667 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 (110): * Single equations (assignments): 107 * 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.0008557/4.074, allocations: 0.4987 MB / 1.912 GB, free: 85.06 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003408/4.074, allocations: 167.8 kB / 1.912 GB, free: 84.98 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004788/4.079, allocations: 2.433 MB / 1.914 GB, free: 84.35 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.72e-05/4.079, allocations: 15.52 kB / 1.914 GB, free: 84.35 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/4.079, allocations: 3.875 kB / 1.914 GB, free: 84.35 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.928e-06/4.079, allocations: 7.844 kB / 1.914 GB, free: 84.34 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002124/4.081, allocations: 1.399 MB / 1.916 GB, free: 83.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/4.081, allocations: 0 / 1.916 GB, free: 83.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/4.083, allocations: 233.8 kB / 1.916 GB, free: 83.68 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-05/4.083, allocations: 3.344 kB / 1.916 GB, free: 83.68 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/4.083, allocations: 43.67 kB / 1.916 GB, free: 83.67 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/4.083, allocations: 6.75 kB / 1.916 GB, free: 83.67 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/4.083, allocations: 0 / 1.916 GB, free: 83.67 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005784/4.089, allocations: 3.078 MB / 1.919 GB, free: 82.54 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000647/4.089, allocations: 247.8 kB / 1.919 GB, free: 82.32 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004125/4.09, allocations: 30.47 kB / 1.919 GB, free: 82.31 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001531/4.091, allocations: 181 kB / 1.92 GB, free: 82.28 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/4.091, allocations: 65.28 kB / 1.92 GB, free: 82.27 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001297/4.091, allocations: 53.33 kB / 1.92 GB, free: 82.26 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001567/4.093, allocations: 0.8443 MB / 1.921 GB, free: 81.94 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.51e-07/4.093, allocations: 0 / 1.921 GB, free: 81.94 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003221/4.096, allocations: 0.9119 MB / 1.921 GB, free: 81.74 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (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 (97): * Single equations (assignments): 76 * 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.00825/4.105, allocations: 4.423 MB / 1.926 GB, free: 79.51 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.005325/4.11, allocations: 2.783 MB / 1.928 GB, free: 76.99 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/4.11, allocations: 0 / 1.928 GB, free: 76.99 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001741/4.112, allocations: 1.078 MB / 1.929 GB, free: 75.88 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002918/4.115, allocations: 0.6165 MB / 1.93 GB, free: 75.3 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01811/4.133, allocations: 13.01 MB / 1.943 GB, free: 61.85 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007611/4.134, allocations: 1.306 MB / 1.944 GB, free: 60.52 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001756/4.135, allocations: 418.6 kB / 1.944 GB, free: 60.16 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008351/4.136, allocations: 0.6721 MB / 1.945 GB, free: 59.49 MB / 0.6667 GB Notification: Performance of SimCode: time 1.242e-06/4.136, allocations: 0 / 1.945 GB, free: 59.49 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07855/4.215, allocations: 51.84 MB / 1.996 GB, free: 8.801 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001863/4.215, allocations: 229.9 kB / 1.996 GB, free: 8.562 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.851/8.066, allocations: 4 kB / 1.996 GB, free: 8.559 MB / 0.6667 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Validation_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Validation_PrescribedOutlet.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)