Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009831/0.000983, allocations: 179.6 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4642/0.4642, allocations: 90.8 MB / 104.5 MB, free: 9.797 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 221.3 MB / 348.3 MB, free: 436 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009749/0.000975, allocations: 93.83 kB / 421.2 MB, free: 5.469 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.201e-05/4.204e-05, allocations: 7.984 kB / 0.4897 GB, free: 5.25 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.3775, allocations: 72.29 MB / 0.5603 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7767/1.154, allocations: 353.7 MB / 0.9057 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/1.155, allocations: 84.58 kB / 0.9058 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.614/4.768, allocations: 0.9519 GB / 1.858 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.633e-06/4.768, allocations: 0 / 1.858 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002711/4.769, allocations: 47.98 kB / 1.858 GB, free: 20.06 MB / 0.6198 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.004744/4.773, allocations: 1.865 MB / 1.86 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/4.774, allocations: 15.97 kB / 1.86 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005284/4.774, allocations: 156.5 kB / 1.86 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003439/4.778, allocations: 0.6065 MB / 1.86 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004676/4.782, allocations: 1.419 MB / 1.862 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/4.782, allocations: 86.86 kB / 1.862 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004366/4.783, allocations: 115 kB / 1.862 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002227/4.785, allocations: 1.188 MB / 1.863 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.798e-05/4.785, allocations: 3.953 kB / 1.863 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/4.785, allocations: 44 kB / 1.863 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.929e-05/4.785, allocations: 24 kB / 1.863 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/4.787, allocations: 0.9254 MB / 1.864 GB, free: 13.43 MB / 0.6198 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.006847/4.793, allocations: 6.411 MB / 1.87 GB, free: 6.535 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001319/4.795, allocations: 0.9447 MB / 1.871 GB, free: 5.578 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006322/4.795, allocations: 0.5225 MB / 1.872 GB, free: 5.055 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001312/4.797, allocations: 2.268 MB / 1.874 GB, free: 2.293 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008162/4.798, allocations: 0.6847 MB / 1.875 GB, free: 1.578 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=100): time 3.547e-06/4.798, allocations: 0 / 1.875 GB, free: 1.578 MB / 0.6198 GB Notification: Performance of matching and sorting (n=100): time 0.002018/4.8, allocations: 1.337 MB / 1.876 GB, free: 220 kB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/4.8, allocations: 141.3 kB / 1.876 GB, free: 48 kB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001324/4.801, allocations: 1.025 MB / 1.877 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.238e-05/4.801, allocations: 45.7 kB / 1.877 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005682/4.802, allocations: 0.6861 MB / 1.878 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002818/4.802, allocations: 324.4 kB / 1.878 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-05/4.802, allocations: 20 kB / 1.878 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001341/4.802, allocations: 345.9 kB / 1.878 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006463/4.803, allocations: 425.8 kB / 1.879 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008385/4.804, allocations: 0.6613 MB / 1.879 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007663/4.804, allocations: 0.5462 MB / 1.88 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/4.804, allocations: 0 / 1.88 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002328/4.807, allocations: 1.479 MB / 1.881 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006799/4.807, allocations: 1.715 MB / 1.883 GB, free: 8.461 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/4.808, allocations: 4 kB / 1.883 GB, free: 8.457 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.586e-05/4.808, allocations: 12 kB / 1.883 GB, free: 8.445 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/4.809, allocations: 283.6 kB / 1.883 GB, free: 8.168 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.729e-05/4.809, allocations: 11.94 kB / 1.883 GB, free: 8.156 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/4.81, allocations: 234.9 kB / 1.884 GB, free: 7.926 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001357/4.811, allocations: 59.97 kB / 1.884 GB, free: 7.867 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/4.811, allocations: 4 kB / 1.884 GB, free: 7.863 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002091/4.813, allocations: 1.374 MB / 1.885 GB, free: 6.473 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/4.813, allocations: 4 kB / 1.885 GB, free: 6.469 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/4.813, allocations: 11.95 kB / 1.885 GB, free: 6.457 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/4.814, allocations: 284.1 kB / 1.885 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/4.814, allocations: 8 kB / 1.885 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/4.815, allocations: 235 kB / 1.886 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/4.815, allocations: 59.97 kB / 1.886 GB, free: 5.883 MB / 0.6355 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 () * 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.0003492/4.816, allocations: 269.3 kB / 1.886 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002315/4.816, allocations: 158.1 kB / 1.886 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003522/4.82, allocations: 2.041 MB / 1.888 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.138e-05/4.82, allocations: 23.94 kB / 1.888 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/4.82, allocations: 0 / 1.888 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/4.82, allocations: 3.984 kB / 1.888 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5393/5.359, allocations: 3.387 MB / 1.891 GB, free: 71.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.636e-05/5.359, allocations: 1.375 kB / 1.891 GB, free: 71.36 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001357/5.36, allocations: 239.1 kB / 1.892 GB, free: 71.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.214e-05/5.36, allocations: 3.156 kB / 1.892 GB, free: 71.36 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001802/5.361, allocations: 41.89 kB / 1.892 GB, free: 71.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.576e-06/5.361, allocations: 7.547 kB / 1.892 GB, free: 71.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/5.361, allocations: 0 / 1.892 GB, free: 71.36 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005142/5.366, allocations: 2.733 MB / 1.894 GB, free: 70.98 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/5.367, allocations: 408.2 kB / 1.895 GB, free: 70.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00023/5.367, allocations: 28.56 kB / 1.895 GB, free: 70.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001374/5.368, allocations: 172.4 kB / 1.895 GB, free: 70.86 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002076/5.369, allocations: 73.09 kB / 1.895 GB, free: 70.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000147/5.369, allocations: 58.36 kB / 1.895 GB, free: 70.86 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001318/5.37, allocations: 0.7905 MB / 1.896 GB, free: 70.74 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.8e-07/5.37, allocations: 0 / 1.896 GB, free: 70.74 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002524/5.373, allocations: 0.9119 MB / 1.897 GB, free: 70.71 MB / 0.6355 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) * 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.005222/5.378, allocations: 4.383 MB / 1.901 GB, free: 69.31 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003302/5.381, allocations: 2.296 MB / 1.903 GB, free: 68.91 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/5.381, allocations: 3.938 kB / 1.903 GB, free: 68.91 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0009789/5.382, allocations: 0.9172 MB / 1.904 GB, free: 68.72 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002693/5.385, allocations: 0.5937 MB / 1.905 GB, free: 68.71 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004791/5.39, allocations: 2.863 MB / 1.907 GB, free: 68.04 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006048/5.39, allocations: 1.313 MB / 1.909 GB, free: 67.32 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001845/5.392, allocations: 496.7 kB / 1.909 GB, free: 67.31 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000643/5.393, allocations: 0.6379 MB / 1.91 GB, free: 67.31 MB / 0.6355 GB Notification: Performance of SimCode: time 6.41e-07/5.393, allocations: 0 / 1.91 GB, free: 67.31 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08119/5.474, allocations: 53.37 MB / 1.962 GB, free: 65.3 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001619/5.474, allocations: 201.2 kB / 1.962 GB, free: 65.07 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.011/9.485, allocations: 0 / 1.962 GB, free: 65.07 MB / 0.6355 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_PrescribedOutlet.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)