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.0008127/0.0008128, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005724/0.005724, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.439/1.439, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.038/1.038, allocations: 143.2 MB / 434.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003366/0.0003367, allocations: 16 kB / 0.5164 GB, free: 11.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.155, allocations: 83.4 MB / 0.5978 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u): time 0.528/0.683, allocations: 250.4 MB / 0.8424 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01555/0.6986, allocations: 9.623 MB / 0.8518 GB, free: 7.883 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002494/0.7011, allocations: 67.56 kB / 0.8518 GB, free: 7.816 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002319/0.7035, allocations: 0.8121 MB / 0.8526 GB, free: 7 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006964/0.7105, allocations: 2.488 MB / 0.855 GB, free: 4.504 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00598/0.7165, allocations: 1.926 MB / 0.8569 GB, free: 2.594 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.4188/1.135, allocations: 5.43 MB / 0.8622 GB, free: 34.8 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002423/1.138, allocations: 1.277 MB / 0.8635 GB, free: 34.68 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004318/1.142, allocations: 1.677 MB / 0.8651 GB, free: 34.68 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003233/1.145, allocations: 1.227 MB / 0.8663 GB, free: 34.67 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003899/1.146, allocations: 63.81 kB / 0.8664 GB, free: 34.67 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007897/1.154, allocations: 3.492 MB / 0.8698 GB, free: 34.67 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0009909/1.155, allocations: 480 kB / 0.8702 GB, free: 34.67 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001867/1.157, allocations: 0.9142 MB / 0.8711 GB, free: 34.64 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.007725/1.164, allocations: 3.803 MB / 0.8748 GB, free: 34.55 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/1.164, allocations: 1.859 kB / 0.8748 GB, free: 34.55 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.236e-06/1.164, allocations: 0.6562 kB / 0.8748 GB, free: 34.55 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.124e-05/1.164, allocations: 0 / 0.8748 GB, free: 34.55 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.004435/1.169, allocations: 2.129 MB / 0.8769 GB, free: 33.32 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/1.169, allocations: 14.17 kB / 0.8769 GB, free: 33.32 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004236/1.173, allocations: 0.6487 MB / 0.8776 GB, free: 33.2 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002997/1.176, allocations: 1.376 MB / 0.8789 GB, free: 32.75 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003723/1.177, allocations: 163.6 kB / 0.8791 GB, free: 32.74 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002044/1.177, allocations: 122.6 kB / 0.8792 GB, free: 32.74 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002899/1.18, allocations: 1.432 MB / 0.8806 GB, free: 32.55 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.565e-05/1.18, allocations: 4.188 kB / 0.8806 GB, free: 32.55 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001538/1.18, allocations: 47.69 kB / 0.8806 GB, free: 32.55 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.423e-05/1.18, allocations: 50.34 kB / 0.8807 GB, free: 32.54 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002838/1.183, allocations: 1.216 MB / 0.8819 GB, free: 32.51 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.009097/1.192, allocations: 5.722 MB / 0.8875 GB, free: 30.11 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002017/1.194, allocations: 1.06 MB / 0.8885 GB, free: 29.88 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00106/1.195, allocations: 0.5437 MB / 0.889 GB, free: 29.87 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005613/1.196, allocations: 324.6 kB / 0.8893 GB, free: 29.58 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001254/1.197, allocations: 0.5785 MB / 0.8899 GB, free: 29.49 MB / 0.67 GB Notification: Performance of pre-optimization done (n=85): time 2.625e-06/1.197, allocations: 4 kB / 0.8899 GB, free: 29.48 MB / 0.67 GB Notification: Performance of matching and sorting (n=92): time 0.009574/1.206, allocations: 3.595 MB / 0.8934 GB, free: 28.55 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/1.207, allocations: 92.05 kB / 0.8935 GB, free: 28.45 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002573/1.209, allocations: 1.34 MB / 0.8948 GB, free: 28.29 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001715/1.209, allocations: 49.3 kB / 0.8949 GB, free: 28.25 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006388/1.21, allocations: 0.7303 MB / 0.8956 GB, free: 28.02 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003375/1.21, allocations: 311.5 kB / 0.8959 GB, free: 27.82 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/1.211, allocations: 90.59 kB / 0.896 GB, free: 27.8 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.578e-05/1.211, allocations: 347.9 kB / 0.8963 GB, free: 27.5 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001066/1.212, allocations: 459.4 kB / 0.8967 GB, free: 27.49 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/1.213, allocations: 0.6642 MB / 0.8974 GB, free: 27.29 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01445/1.227, allocations: 3.636 MB / 0.9009 GB, free: 26.79 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.767e-06/1.227, allocations: 1.094 kB / 0.9009 GB, free: 26.79 MB / 0.67 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004127/1.232, allocations: 1.55 MB / 0.9024 GB, free: 26.58 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001853/1.232, allocations: 243.6 kB / 0.9027 GB, free: 26.32 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/1.232, allocations: 4.156 kB / 0.9027 GB, free: 26.32 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008258/1.233, allocations: 228 kB / 0.9029 GB, free: 26.29 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/1.234, allocations: 207.8 kB / 0.9031 GB, free: 26.29 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004249/1.238, allocations: 4.288 MB / 0.9073 GB, free: 23.15 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002163/1.24, allocations: 140.4 kB / 0.9074 GB, free: 23.13 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001397/1.24, allocations: 41.72 kB / 0.9074 GB, free: 23.13 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/1.24, allocations: 2.531 kB / 0.9075 GB, free: 23.13 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003005/1.243, allocations: 1.378 MB / 0.9088 GB, free: 23.03 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/1.243, allocations: 8.453 kB / 0.9088 GB, free: 23.03 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005356/1.244, allocations: 202.7 kB / 0.909 GB, free: 23 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009256/1.245, allocations: 206.3 kB / 0.9092 GB, free: 23 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004438/1.249, allocations: 5.295 MB / 0.9144 GB, free: 18.99 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002264/1.251, allocations: 146.8 kB / 0.9145 GB, free: 18.97 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/1.252, allocations: 40.25 kB / 0.9145 GB, free: 18.97 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.001166/1.253, allocations: 0.5068 MB / 0.915 GB, free: 18.75 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004005/1.253, allocations: 161.2 kB / 0.9152 GB, free: 18.66 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002771/1.256, allocations: 1.309 MB / 0.9165 GB, free: 18.53 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/1.256, allocations: 17.5 kB / 0.9165 GB, free: 18.52 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/1.256, allocations: 3.938 kB / 0.9165 GB, free: 18.52 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002177/1.258, allocations: 1.169 MB / 0.9176 GB, free: 18.28 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006612/1.265, allocations: 3.089 MB / 0.9207 GB, free: 17.68 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/1.265, allocations: 3.438 kB / 0.9207 GB, free: 17.68 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008948/1.266, allocations: 188.1 kB / 0.9208 GB, free: 17.68 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001419/1.266, allocations: 57.77 kB / 0.9209 GB, free: 17.67 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.448e-05/1.266, allocations: 31.91 kB / 0.9209 GB, free: 17.67 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003013/1.266, allocations: 0.5862 MB / 0.9215 GB, free: 17.15 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.266, allocations: 3.312 kB / 0.9215 GB, free: 17.15 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003702/1.27, allocations: 2.019 MB / 0.9235 GB, free: 16.69 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009454/1.271, allocations: 344 kB / 0.9238 GB, free: 16.51 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002202/1.271, allocations: 33.8 kB / 0.9238 GB, free: 16.51 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/1.273, allocations: 116.4 kB / 0.9239 GB, free: 16.49 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/1.273, allocations: 69.66 kB / 0.924 GB, free: 16.48 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.379e-05/1.273, allocations: 33.8 kB / 0.924 GB, free: 16.48 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001326/1.274, allocations: 0.9214 MB / 0.9249 GB, free: 16.38 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.8e-07/1.274, allocations: 0 / 0.9249 GB, free: 16.38 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0025/1.277, allocations: 0.6858 MB / 0.9256 GB, free: 16.37 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.0006597/1.277, allocations: 315.7 kB / 0.9259 GB, free: 16.24 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004167/1.281, allocations: 2.559 MB / 0.9284 GB, free: 15.43 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/1.281, allocations: 2.781 kB / 0.9284 GB, free: 15.43 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001069/1.283, allocations: 0.616 MB / 0.929 GB, free: 15.29 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005065/1.288, allocations: 0.832 MB / 0.9298 GB, free: 15.03 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007131/1.295, allocations: 3.931 MB / 0.9337 GB, free: 12.7 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000985/1.296, allocations: 1.342 MB / 0.935 GB, free: 11.74 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002163/1.298, allocations: 354.8 kB / 0.9353 GB, free: 11.57 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003627/1.298, allocations: 111.3 kB / 0.9354 GB, free: 11.55 MB / 0.67 GB Notification: Performance of SimCode: time 1.974e-06/1.298, allocations: 0 / 0.9354 GB, free: 11.55 MB / 0.67 GB Notification: Performance of Templates: time 0.05269/1.351, allocations: 31.18 MB / 0.9659 GB, free: 15.18 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)