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/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.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u") translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009543/0.0009546, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001222/0.001223, allocations: 177.8 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 223.3 MB / 241 MB, free: 5.262 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 1.029/1.029, allocations: 143.2 MB / 435.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003611/0.0003614, allocations: 8 kB / 0.517 GB, free: 11.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1879, allocations: 83.43 MB / 0.5985 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u): time 0.6037/0.7916, allocations: 250.4 MB / 0.843 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01642/0.8081, allocations: 9.629 MB / 0.8524 GB, free: 7.73 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002742/0.8109, allocations: 67.56 kB / 0.8525 GB, free: 7.664 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002715/0.8137, allocations: 0.8043 MB / 0.8533 GB, free: 6.855 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007364/0.821, allocations: 2.487 MB / 0.8557 GB, free: 4.359 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005908/0.827, allocations: 1.928 MB / 0.8576 GB, free: 2.449 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.3803/1.207, allocations: 5.43 MB / 0.8629 GB, free: 34.76 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002179/1.209, allocations: 1.277 MB / 0.8641 GB, free: 34.66 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004082/1.214, allocations: 1.668 MB / 0.8658 GB, free: 34.65 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002837/1.216, allocations: 1.241 MB / 0.867 GB, free: 34.65 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002369/1.217, allocations: 61.78 kB / 0.867 GB, free: 34.65 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006244/1.223, allocations: 3.495 MB / 0.8704 GB, free: 34.64 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0006964/1.224, allocations: 481 kB / 0.8709 GB, free: 34.64 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001344/1.225, allocations: 0.9039 MB / 0.8718 GB, free: 34.61 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003822/1.229, allocations: 2.801 MB / 0.8745 GB, free: 34.53 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/1.229, allocations: 0.6562 kB / 0.8745 GB, free: 34.53 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.505e-06/1.229, allocations: 0 / 0.8745 GB, free: 34.53 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.154e-05/1.229, allocations: 2.906 kB / 0.8745 GB, free: 34.53 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: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.004115/1.233, allocations: 2.131 MB / 0.8766 GB, free: 33.3 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/1.233, allocations: 10.23 kB / 0.8766 GB, free: 33.3 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003925/1.237, allocations: 0.6479 MB / 0.8772 GB, free: 33.18 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002641/1.24, allocations: 1.38 MB / 0.8786 GB, free: 32.73 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003775/1.24, allocations: 161.4 kB / 0.8787 GB, free: 32.72 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002109/1.24, allocations: 125.6 kB / 0.8789 GB, free: 32.72 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002654/1.243, allocations: 1.433 MB / 0.8803 GB, free: 32.53 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.893e-05/1.243, allocations: 4.484 kB / 0.8803 GB, free: 32.53 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/1.243, allocations: 47.44 kB / 0.8803 GB, free: 32.53 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-05/1.243, allocations: 46.3 kB / 0.8804 GB, free: 32.52 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002593/1.246, allocations: 1.216 MB / 0.8815 GB, free: 32.5 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.008586/1.254, allocations: 5.717 MB / 0.8871 GB, free: 30.1 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002118/1.257, allocations: 1.063 MB / 0.8882 GB, free: 29.87 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001169/1.258, allocations: 0.5457 MB / 0.8887 GB, free: 29.85 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005834/1.258, allocations: 327.2 kB / 0.889 GB, free: 29.56 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00126/1.26, allocations: 0.5745 MB / 0.8896 GB, free: 29.47 MB / 0.67 GB Notification: Performance of pre-optimization done (n=85): time 3.196e-06/1.26, allocations: 0 / 0.8896 GB, free: 29.47 MB / 0.67 GB Notification: Performance of matching and sorting (n=92): time 0.009171/1.269, allocations: 3.593 MB / 0.8931 GB, free: 28.53 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/1.269, allocations: 96.69 kB / 0.8932 GB, free: 28.44 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002071/1.271, allocations: 1.345 MB / 0.8945 GB, free: 28.27 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001189/1.271, allocations: 42.58 kB / 0.8945 GB, free: 28.24 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005791/1.272, allocations: 0.7285 MB / 0.8952 GB, free: 28 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002784/1.272, allocations: 317.3 kB / 0.8955 GB, free: 27.8 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/1.272, allocations: 90.38 kB / 0.8956 GB, free: 27.79 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.483e-05/1.272, allocations: 343 kB / 0.896 GB, free: 27.48 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/1.273, allocations: 467 kB / 0.8964 GB, free: 27.47 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001151/1.274, allocations: 0.6601 MB / 0.897 GB, free: 27.27 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01403/1.288, allocations: 3.632 MB / 0.9006 GB, free: 26.77 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/1.288, allocations: 1.312 kB / 0.9006 GB, free: 26.77 MB / 0.67 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003683/1.292, allocations: 1.55 MB / 0.9021 GB, free: 26.57 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001299/1.292, allocations: 245.5 kB / 0.9023 GB, free: 26.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/1.292, allocations: 7.016 kB / 0.9024 GB, free: 26.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007359/1.293, allocations: 223.1 kB / 0.9026 GB, free: 26.28 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009939/1.294, allocations: 209.1 kB / 0.9028 GB, free: 26.27 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003744/1.298, allocations: 4.292 MB / 0.907 GB, free: 23.14 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001892/1.3, allocations: 139.9 kB / 0.9071 GB, free: 23.12 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000144/1.3, allocations: 46.05 kB / 0.9071 GB, free: 23.12 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.796e-06/1.3, allocations: 7.875 kB / 0.9071 GB, free: 23.12 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00297/1.303, allocations: 1.365 MB / 0.9085 GB, free: 23.02 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/1.303, allocations: 4.5 kB / 0.9085 GB, free: 23.02 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005146/1.303, allocations: 202.8 kB / 0.9087 GB, free: 22.99 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008707/1.304, allocations: 204.5 kB / 0.9089 GB, free: 22.99 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004202/1.309, allocations: 5.301 MB / 0.914 GB, free: 18.98 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001848/1.31, allocations: 145.6 kB / 0.9142 GB, free: 18.96 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001571/1.311, allocations: 40.78 kB / 0.9142 GB, free: 18.96 MB / 0.67 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: 18 * Number of states: 0 () * Number of discrete variables: 9 (TSet.nextEventScaled,TSet.nextEvent,$PRE.TSet.nextEvent,TSet.last,TSet.b,TSet.a,$whenCondition1,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 99 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,8), (1,2), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001123/1.312, allocations: 0.5052 MB / 0.9147 GB, free: 18.73 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004489/1.312, allocations: 165.3 kB / 0.9149 GB, free: 18.65 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002752/1.315, allocations: 1.311 MB / 0.9162 GB, free: 18.51 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/1.315, allocations: 15.38 kB / 0.9162 GB, free: 18.51 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.852e-05/1.315, allocations: 3.219 kB / 0.9162 GB, free: 18.51 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002081/1.317, allocations: 1.171 MB / 0.9173 GB, free: 18.27 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006096/1.323, allocations: 3.084 MB / 0.9203 GB, free: 17.68 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/1.323, allocations: 1.781 kB / 0.9203 GB, free: 17.68 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009405/1.324, allocations: 193.5 kB / 0.9205 GB, free: 17.67 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001609/1.324, allocations: 50.94 kB / 0.9206 GB, free: 17.66 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.445e-05/1.324, allocations: 30.89 kB / 0.9206 GB, free: 17.66 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002982/1.325, allocations: 0.5879 MB / 0.9212 GB, free: 17.14 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/1.325, allocations: 9.281 kB / 0.9212 GB, free: 17.14 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003624/1.328, allocations: 2.016 MB / 0.9231 GB, free: 16.68 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009617/1.329, allocations: 349.1 kB / 0.9235 GB, free: 16.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002159/1.33, allocations: 24.7 kB / 0.9235 GB, free: 16.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/1.331, allocations: 127.6 kB / 0.9236 GB, free: 16.48 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/1.331, allocations: 62.17 kB / 0.9237 GB, free: 16.47 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.44e-05/1.331, allocations: 36.69 kB / 0.9237 GB, free: 16.47 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001363/1.332, allocations: 0.9169 MB / 0.9246 GB, free: 16.36 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/1.332, allocations: 5.859 kB / 0.9246 GB, free: 16.36 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002404/1.335, allocations: 0.6928 MB / 0.9253 GB, free: 16.35 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.Xi[1],heaDyn.vol.dynBal.medium.T,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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006879/1.336, allocations: 299.9 kB / 0.9256 GB, free: 16.22 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004231/1.34, allocations: 2.569 MB / 0.9281 GB, free: 15.48 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/1.34, allocations: 0 / 0.9281 GB, free: 15.48 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001112/1.341, allocations: 0.612 MB / 0.9287 GB, free: 15.39 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004948/1.346, allocations: 0.8403 MB / 0.9295 GB, free: 15.12 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006436/1.352, allocations: 4.002 MB / 0.9334 GB, free: 12.76 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007257/1.353, allocations: 1.345 MB / 0.9347 GB, free: 11.81 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004596/1.354, allocations: 116.9 kB / 0.9348 GB, free: 11.79 MB / 0.67 GB Notification: Performance of SimCode: time 7.22e-07/1.354, allocations: 0 / 0.9348 GB, free: 11.79 MB / 0.67 GB Notification: Performance of Templates: time 0.04858/1.402, allocations: 40.09 MB / 0.974 GB, free: 6.953 MB / 0.7012 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)