Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.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.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel") translateModel(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 107.2 kB / 16.41 MB, free: 6.406 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.001251/0.001251, allocations: 189.8 kB / 17.34 MB, free: 5.691 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.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.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.9031/0.9031, allocations: 143.1 MB / 434.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 55.72 kB / 0.5962 GB, free: 12.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1604, allocations: 82.04 MB / 0.6763 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01681/0.1772, allocations: 14.46 MB / 0.6904 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00571/0.1829, allocations: 3.655 MB / 0.694 GB, free: 8.18 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005186/0.1834, allocations: 15.94 kB / 0.694 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006894/0.1841, allocations: 214.6 kB / 0.6942 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.1856, allocations: 0.6103 MB / 0.6948 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008984/0.1865, allocations: 398.1 kB / 0.6952 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001413/0.1879, allocations: 1.079 MB / 0.6962 GB, free: 5.871 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004473/0.1883, allocations: 269.4 kB / 0.6965 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001012/0.1893, allocations: 408.1 kB / 0.6969 GB, free: 5.207 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004182/0.1898, allocations: 302.7 kB / 0.6972 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.626e-05/0.1898, allocations: 32 kB / 0.6972 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005512/0.1904, allocations: 251.6 kB / 0.6974 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.1905, allocations: 111.5 kB / 0.6975 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002328/0.1907, allocations: 218.9 kB / 0.6978 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0008771/0.1916, allocations: 0.6188 MB / 0.6984 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1916, allocations: 0 / 0.6984 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.674e-06/0.1916, allocations: 0 / 0.6984 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.26e-05/0.1916, allocations: 0 / 0.6984 GB, free: 3.688 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001293/0.1929, allocations: 0.753 MB / 0.6991 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.193, allocations: 8.031 kB / 0.6991 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002101/0.1932, allocations: 60.64 kB / 0.6992 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008098/0.194, allocations: 471.3 kB / 0.6996 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/0.194, allocations: 20.94 kB / 0.6996 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.924e-05/0.1941, allocations: 27.94 kB / 0.6997 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006225/0.1947, allocations: 310.2 kB / 0.7 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.1947, allocations: 0 / 0.7 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.53e-05/0.1947, allocations: 12 kB / 0.7 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.011e-05/0.1948, allocations: 12 kB / 0.7 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004925/0.1952, allocations: 198 kB / 0.7002 GB, free: 1.727 MB / 0.5294 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.002013/0.1973, allocations: 1.482 MB / 0.7016 GB, free: 120 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004803/0.1977, allocations: 154.6 kB / 0.7018 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001883/0.1979, allocations: 64.81 kB / 0.7018 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001434/0.1981, allocations: 81.11 kB / 0.7019 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003218/0.1984, allocations: 134.6 kB / 0.702 GB, free: 15.65 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.593e-06/0.1984, allocations: 0 / 0.702 GB, free: 15.65 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0006676/0.1991, allocations: 233.3 kB / 0.7022 GB, free: 15.41 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.1991, allocations: 63.33 kB / 0.7023 GB, free: 15.34 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004014/0.1995, allocations: 345.6 kB / 0.7026 GB, free: 14.99 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.08e-05/0.1996, allocations: 33.7 kB / 0.7027 GB, free: 14.95 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/0.1997, allocations: 212.1 kB / 0.7029 GB, free: 14.74 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.823e-05/0.1998, allocations: 63.42 kB / 0.7029 GB, free: 14.68 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.59e-05/0.1999, allocations: 61.66 kB / 0.703 GB, free: 14.62 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.2, allocations: 334.8 kB / 0.7033 GB, free: 14.28 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.2002, allocations: 71.95 kB / 0.7034 GB, free: 14.21 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002678/0.2005, allocations: 153.3 kB / 0.7035 GB, free: 14.03 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004718/0.201, allocations: 244.7 kB / 0.7038 GB, free: 13.75 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.201, allocations: 7.938 kB / 0.7038 GB, free: 13.74 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000638/0.2016, allocations: 310.8 kB / 0.7041 GB, free: 13.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.138e-05/0.2017, allocations: 37.69 kB / 0.7041 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.2017, allocations: 0 / 0.7041 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.2017, allocations: 8 kB / 0.7041 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/0.2019, allocations: 59.84 kB / 0.7042 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.2019, allocations: 4.312 kB / 0.7042 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002489/0.2022, allocations: 35.83 kB / 0.7042 GB, free: 13.28 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.603e-05/0.2022, allocations: 12 kB / 0.7042 GB, free: 13.27 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001959/0.2024, allocations: 161.7 kB / 0.7044 GB, free: 13.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.994e-05/0.2025, allocations: 35.77 kB / 0.7044 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004878/0.203, allocations: 192.5 kB / 0.7046 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.203, allocations: 11.94 kB / 0.7046 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.203, allocations: 0 / 0.7046 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000556/0.2035, allocations: 483.7 kB / 0.7051 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004791/0.204, allocations: 353.4 kB / 0.7054 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.204, allocations: 0 / 0.7054 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.2042, allocations: 27.98 kB / 0.7054 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.2042, allocations: 0 / 0.7054 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/0.2042, allocations: 11.98 kB / 0.7054 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.2042, allocations: 3.938 kB / 0.7054 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.2042, allocations: 4 kB / 0.7054 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006363/0.2048, allocations: 286.8 kB / 0.7057 GB, free: 11.56 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000148/0.205, allocations: 128.9 kB / 0.7058 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.63e-05/0.205, allocations: 0 / 0.7058 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.2053, allocations: 19.92 kB / 0.7059 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.203e-05/0.2053, allocations: 20.08 kB / 0.7059 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.2053, allocations: 11.98 kB / 0.7059 GB, free: 11.37 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002776/0.2056, allocations: 243.2 kB / 0.7061 GB, free: 11.13 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2056, allocations: 0 / 0.7061 GB, free: 11.13 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004461/0.2061, allocations: 135.6 kB / 0.7062 GB, free: 11 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003571/0.2064, allocations: 198.9 kB / 0.7064 GB, free: 10.79 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005155/0.2069, allocations: 225 kB / 0.7067 GB, free: 10.56 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2069, allocations: 0 / 0.7067 GB, free: 10.56 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001826/0.2071, allocations: 63.89 kB / 0.7067 GB, free: 10.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009395/0.2081, allocations: 211.9 kB / 0.7069 GB, free: 10.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/0.2096, allocations: 0.767 MB / 0.7077 GB, free: 9.504 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004735/0.21, allocations: 0.7918 MB / 0.7084 GB, free: 8.688 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.2101, allocations: 35.42 kB / 0.7085 GB, free: 8.652 MB / 0.545 GB Notification: Performance of SimCode: time 5.21e-07/0.2101, allocations: 4 kB / 0.7085 GB, free: 8.648 MB / 0.545 GB Notification: Performance of Templates: time 0.01028/0.2204, allocations: 6.301 MB / 0.7146 GB, free: 2.402 MB / 0.545 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)