Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.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.HeaterCooler_u,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Validation_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Validation_HeaterCooler_u",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.7329/0.7329, allocations: 127.3 MB / 139.8 MB, free: 15.43 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001276/0.001276, allocations: 192.7 kB / 169.7 MB, free: 1.734 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.817/1.817, allocations: 205.1 MB / 404.5 MB, free: 1.648 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.0009156/0.0009156, allocations: 94.11 kB / 481.8 MB, free: 4.301 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.63e-05/3.649e-05, allocations: 4 kB / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1775, allocations: 76.76 MB / 0.6282 GB, free: 9.914 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.037/6.214, allocations: 2.163 GB / 2.791 GB, free: 164.1 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003684/6.215, allocations: 87.95 kB / 2.792 GB, free: 164 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.96/10.17, allocations: 1.031 GB / 3.822 GB, free: 79.74 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.184e-06/10.18, allocations: 0 / 3.822 GB, free: 79.74 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001911/10.18, allocations: 48.41 kB / 3.822 GB, free: 79.73 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: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.005495/10.18, allocations: 2.079 MB / 3.824 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.331e-05/10.18, allocations: 9.969 kB / 3.824 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003398/10.18, allocations: 181.2 kB / 3.825 GB, free: 78.67 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003987/10.19, allocations: 0.6143 MB / 3.825 GB, free: 78.57 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004389/10.19, allocations: 1.574 MB / 3.827 GB, free: 78.12 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.06e-05/10.19, allocations: 93.97 kB / 3.827 GB, free: 78.12 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002807/10.19, allocations: 127.2 kB / 3.827 GB, free: 78.12 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002916/10.19, allocations: 1.375 MB / 3.828 GB, free: 77.91 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.413e-05/10.19, allocations: 14.56 kB / 3.828 GB, free: 77.9 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001264/10.19, allocations: 44.41 kB / 3.828 GB, free: 77.9 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.136e-05/10.19, allocations: 39.5 kB / 3.828 GB, free: 77.89 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002098/10.2, allocations: 1.051 MB / 3.829 GB, free: 77.87 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.008334/10.2, allocations: 5.656 MB / 3.835 GB, free: 75.43 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001562/10.21, allocations: 0.9803 MB / 3.836 GB, free: 75.21 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005802/10.21, allocations: 457 kB / 3.836 GB, free: 75.2 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000507/10.21, allocations: 296.9 kB / 3.837 GB, free: 74.92 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001092/10.21, allocations: 0.5493 MB / 3.837 GB, free: 74.83 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=86): time 3.486e-06/10.21, allocations: 0 / 3.837 GB, free: 74.83 MB / 0.6667 GB Notification: Performance of matching and sorting (n=94): time 0.007436/10.21, allocations: 2.952 MB / 3.84 GB, free: 74.08 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.303e-05/10.22, allocations: 199.7 kB / 3.84 GB, free: 73.86 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001647/10.22, allocations: 1.119 MB / 3.841 GB, free: 73.69 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001659/10.22, allocations: 48.7 kB / 3.841 GB, free: 73.66 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005673/10.22, allocations: 0.7438 MB / 3.842 GB, free: 73.43 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002486/10.22, allocations: 319.7 kB / 3.842 GB, free: 73.23 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-05/10.22, allocations: 19 kB / 3.842 GB, free: 73.23 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.758e-05/10.22, allocations: 342.9 kB / 3.843 GB, free: 72.92 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005306/10.22, allocations: 365.9 kB / 3.843 GB, free: 72.92 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006572/10.22, allocations: 0.5882 MB / 3.844 GB, free: 72.69 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006739/10.23, allocations: 1.594 MB / 3.845 GB, free: 72.5 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/10.23, allocations: 1.5 kB / 3.845 GB, free: 72.5 MB / 0.6667 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.003948/10.23, allocations: 1.584 MB / 3.847 GB, free: 72.26 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003667/10.23, allocations: 1.295 MB / 3.848 GB, free: 70.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/10.23, allocations: 3.562 kB / 3.848 GB, free: 70.9 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009574/10.23, allocations: 369.4 kB / 3.848 GB, free: 70.87 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006906/10.23, allocations: 163 kB / 3.849 GB, free: 70.85 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005974/10.24, allocations: 6.716 MB / 3.855 GB, free: 66.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/10.24, allocations: 113.3 kB / 3.855 GB, free: 66.34 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/10.24, allocations: 39.66 kB / 3.855 GB, free: 66.34 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/10.24, allocations: 4.625 kB / 3.855 GB, free: 66.34 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002789/10.24, allocations: 1.429 MB / 3.857 GB, free: 66.12 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.413e-06/10.24, allocations: 3.719 kB / 3.857 GB, free: 66.12 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000873/10.24, allocations: 364.5 kB / 3.857 GB, free: 66.09 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005556/10.24, allocations: 144.7 kB / 3.857 GB, free: 66.07 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006458/10.25, allocations: 7.672 MB / 3.865 GB, free: 59.55 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001679/10.25, allocations: 94.48 kB / 3.865 GB, free: 59.53 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/10.25, allocations: 39.75 kB / 3.865 GB, free: 59.52 MB / 0.6667 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 11,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003977/10.25, allocations: 199.3 kB / 3.865 GB, free: 59.35 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002914/10.25, allocations: 171.6 kB / 3.865 GB, free: 59.26 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003314/10.26, allocations: 1.38 MB / 3.866 GB, free: 58.72 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/10.26, allocations: 6.031 kB / 3.866 GB, free: 58.72 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/10.26, allocations: 0 / 3.866 GB, free: 58.72 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002608/10.26, allocations: 1.224 MB / 3.868 GB, free: 58.19 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006291/10.27, allocations: 3.135 MB / 3.871 GB, free: 56.71 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/10.27, allocations: 2.875 kB / 3.871 GB, free: 56.71 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007994/10.27, allocations: 178.2 kB / 3.871 GB, free: 56.69 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003967/10.27, allocations: 156.1 kB / 3.871 GB, free: 56.64 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.131e-05/10.27, allocations: 33.64 kB / 3.871 GB, free: 56.62 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003982/10.27, allocations: 3.441 MB / 3.874 GB, free: 53.55 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/10.27, allocations: 7.781 kB / 3.874 GB, free: 53.55 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004068/10.27, allocations: 2.266 MB / 3.877 GB, free: 52.25 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/10.28, allocations: 346.5 kB / 3.877 GB, free: 52.01 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002185/10.28, allocations: 29.47 kB / 3.877 GB, free: 51.99 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001197/10.28, allocations: 110.2 kB / 3.877 GB, free: 51.98 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001812/10.28, allocations: 72.55 kB / 3.877 GB, free: 51.96 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.401e-05/10.28, allocations: 42.16 kB / 3.877 GB, free: 51.95 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001241/10.28, allocations: 0.8712 MB / 3.878 GB, free: 51.6 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.71e-07/10.28, allocations: 0 / 3.878 GB, free: 51.6 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003926/10.28, allocations: 0.9807 MB / 3.879 GB, free: 51.41 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.X[2],heaDyn.vol.dynBal.medium.dT,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.007963/10.29, allocations: 6.082 MB / 3.885 GB, free: 47.83 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004113/10.29, allocations: 2.636 MB / 3.888 GB, free: 46.19 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.474e-05/10.3, allocations: 0 / 3.888 GB, free: 46.19 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001251/10.3, allocations: 0.8015 MB / 3.888 GB, free: 45.7 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004372/10.3, allocations: 0.8495 MB / 3.889 GB, free: 45.48 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006909/10.31, allocations: 2.941 MB / 3.892 GB, free: 42.82 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009234/10.31, allocations: 1.397 MB / 3.893 GB, free: 41.65 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002274/10.31, allocations: 499.4 kB / 3.894 GB, free: 41.31 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006866/10.31, allocations: 0.621 MB / 3.894 GB, free: 40.74 MB / 0.6667 GB Notification: Performance of SimCode: time 1.543e-06/10.31, allocations: 0 / 3.894 GB, free: 40.74 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6382/10.95, allocations: 92.11 MB / 3.984 GB, free: 96.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/10.95, allocations: 233.3 kB / 3.985 GB, free: 96.29 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.321/16.27, allocations: 0 / 3.985 GB, free: 96.29 MB / 0.6823 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Validation_HeaterCooler_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Validation_HeaterCooler_u.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)