Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006904/0.0006904, allocations: 86.25 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007381/0.0007381, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.165/1.165, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8506/0.8506, allocations: 143.2 MB / 434.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002658/0.0002658, allocations: 8 kB / 0.5158 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1278, allocations: 83.41 MB / 0.5972 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.7315/0.8593, allocations: 277.6 MB / 0.8683 GB, free: 58.39 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.04967/0.909, allocations: 47.1 MB / 0.9143 GB, free: 57.74 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009082/0.9181, allocations: 265.3 kB / 0.9146 GB, free: 57.73 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.007665/0.9258, allocations: 2.388 MB / 0.9169 GB, free: 57.7 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01997/0.9458, allocations: 7.255 MB / 0.924 GB, free: 57.38 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01337/0.9592, allocations: 4.79 MB / 0.9287 GB, free: 57.26 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.02625/0.9855, allocations: 21.08 MB / 0.9493 GB, free: 54.08 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00702/0.9925, allocations: 4.294 MB / 0.9535 GB, free: 52.37 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01231/1.005, allocations: 5.899 MB / 0.9592 GB, free: 50.11 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008219/1.013, allocations: 4.607 MB / 0.9637 GB, free: 48.3 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001617/1.015, allocations: 232.6 kB / 0.964 GB, free: 48.3 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01048/1.025, allocations: 2.629 MB / 0.9665 GB, free: 47.59 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002051/1.027, allocations: 1.065 MB / 0.9676 GB, free: 47.09 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.003123/1.03, allocations: 1.373 MB / 0.9689 GB, free: 46.84 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.009388/1.04, allocations: 7.899 MB / 0.9766 GB, free: 42.56 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/1.04, allocations: 0 / 0.9766 GB, free: 42.56 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.893e-06/1.04, allocations: 0 / 0.9766 GB, free: 42.56 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001842/1.04, allocations: 0 / 0.9766 GB, free: 42.56 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.007803/1.048, allocations: 6.271 MB / 0.9827 GB, free: 38.65 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/1.048, allocations: 15.56 kB / 0.9828 GB, free: 38.64 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00136/1.049, allocations: 0.7851 MB / 0.9835 GB, free: 37.86 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006223/1.056, allocations: 5.03 MB / 0.9884 GB, free: 34.31 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001363/1.056, allocations: 323.2 kB / 0.9887 GB, free: 34.13 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003665/1.056, allocations: 437 kB / 0.9892 GB, free: 33.84 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005246/1.061, allocations: 4.353 MB / 0.9934 GB, free: 30.57 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.908e-05/1.061, allocations: 15.88 kB / 0.9934 GB, free: 30.56 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002623/1.062, allocations: 176.1 kB / 0.9936 GB, free: 30.52 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.205e-05/1.062, allocations: 125.8 kB / 0.9937 GB, free: 30.4 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003777/1.065, allocations: 2.934 MB / 0.9966 GB, free: 28.47 MB / 0.67 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.01753/1.083, allocations: 25.09 MB / 1.021 GB, free: 3.488 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001972/1.085, allocations: 2.756 MB / 1.024 GB, free: 0.5352 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001152/1.086, allocations: 0.9938 MB / 1.025 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002705/1.089, allocations: 3.913 MB / 1.029 GB, free: 10.78 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.608e-05/1.089, allocations: 72.56 kB / 1.029 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=217): time 4.228e-06/1.089, allocations: 0 / 1.029 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of matching and sorting (n=217): time 0.008899/1.098, allocations: 4.072 MB / 1.033 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/1.098, allocations: 73.41 kB / 1.033 GB, free: 6.465 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005599/1.104, allocations: 4.186 MB / 1.037 GB, free: 2.301 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003362/1.104, allocations: 81.7 kB / 1.037 GB, free: 2.215 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.002005/1.106, allocations: 2.797 MB / 1.04 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007334/1.107, allocations: 0.7673 MB / 1.04 GB, free: 14.65 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/1.107, allocations: 60 kB / 1.04 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001696/1.107, allocations: 410.6 kB / 1.041 GB, free: 14.19 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001236/1.108, allocations: 0.7904 MB / 1.042 GB, free: 13.39 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001827/1.11, allocations: 1.787 MB / 1.043 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/1.112, allocations: 1.084 MB / 1.044 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/1.112, allocations: 4 kB / 1.044 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.006593/1.118, allocations: 3.511 MB / 1.048 GB, free: 6.5 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004412/1.119, allocations: 0.7354 MB / 1.049 GB, free: 5.457 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.341e-05/1.119, allocations: 24 kB / 1.049 GB, free: 5.434 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002194/1.121, allocations: 0.5613 MB / 1.049 GB, free: 4.863 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/1.122, allocations: 0.5577 MB / 1.05 GB, free: 4.305 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001882/1.124, allocations: 2.689 MB / 1.052 GB, free: 1.516 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003902/1.128, allocations: 0.5947 MB / 1.053 GB, free: 0.918 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002243/1.128, allocations: 136 kB / 1.053 GB, free: 0.7852 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/1.128, allocations: 9.656 kB / 1.053 GB, free: 0.7773 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004338/1.133, allocations: 2.802 MB / 1.056 GB, free: 13.92 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.198e-05/1.133, allocations: 26.72 kB / 1.056 GB, free: 13.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008271/1.134, allocations: 371.4 kB / 1.056 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001487/1.135, allocations: 0.5499 MB / 1.057 GB, free: 12.97 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007271/1.142, allocations: 7.713 MB / 1.064 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004031/1.147, allocations: 0.5499 MB / 1.065 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002202/1.147, allocations: 132 kB / 1.065 GB, free: 4.02 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (323): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 0 * 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 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.002067/1.149, allocations: 1.004 MB / 1.066 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008537/1.15, allocations: 0.5094 MB / 1.066 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005403/1.155, allocations: 3.592 MB / 1.07 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.293e-05/1.155, allocations: 39.94 kB / 1.07 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/1.155, allocations: 4 kB / 1.07 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003362/1.159, allocations: 2.428 MB / 1.072 GB, free: 12.33 MB / 0.7325 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 postOpt removeSimpleEquations (simulation): time 0.01149/1.17, allocations: 8.244 MB / 1.08 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/1.17, allocations: 4 kB / 1.08 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001199/1.171, allocations: 367.5 kB / 1.081 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006368/1.172, allocations: 316.5 kB / 1.081 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001133/1.172, allocations: 59.97 kB / 1.081 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001767/1.174, allocations: 2.494 MB / 1.083 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/1.174, allocations: 0 / 1.083 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007127/1.181, allocations: 4.336 MB / 1.088 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002301/1.183, allocations: 0.9972 MB / 1.089 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005012/1.184, allocations: 40 kB / 1.089 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00257/1.186, allocations: 423.1 kB / 1.089 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002317/1.187, allocations: 157.8 kB / 1.089 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002278/1.187, allocations: 111.9 kB / 1.089 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.004267/1.191, allocations: 2.746 MB / 1.092 GB, free: 7.672 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.71e-07/1.191, allocations: 0 / 1.092 GB, free: 7.672 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.009386/1.201, allocations: 3.253 MB / 1.095 GB, free: 4.41 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (219): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * 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 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.002335/1.203, allocations: 1.469 MB / 1.097 GB, free: 3.09 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.006615/1.21, allocations: 4.392 MB / 1.101 GB, free: 14.65 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/1.21, allocations: 4 kB / 1.101 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001787/1.211, allocations: 1.233 MB / 1.102 GB, free: 13.41 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01099/1.222, allocations: 2.654 MB / 1.105 GB, free: 10.78 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01409/1.236, allocations: 11.06 MB / 1.115 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002168/1.239, allocations: 2.873 MB / 1.118 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.004445/1.243, allocations: 1.174 MB / 1.119 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008163/1.244, allocations: 411.2 kB / 1.12 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of SimCode: time 7.41e-07/1.244, allocations: 0 / 1.12 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of Templates: time 0.3865/1.63, allocations: 101.6 MB / 1.219 GB, free: 285.7 MB / 0.795 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)