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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008323/0.008323, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001967/0.001967, allocations: 197.6 kB / 16.68 MB, free: 5.965 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.8474/0.8474, allocations: 143.1 MB / 433.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 64.72 kB / 0.595 GB, free: 12.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1541, allocations: 82.03 MB / 0.6751 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01712/0.1713, allocations: 14.43 MB / 0.6892 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005621/0.177, allocations: 3.644 MB / 0.6928 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006232/0.1776, allocations: 19.88 kB / 0.6928 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007587/0.1784, allocations: 198.7 kB / 0.693 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001583/0.18, allocations: 0.5868 MB / 0.6936 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.1811, allocations: 405 kB / 0.694 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001661/0.1828, allocations: 1.085 MB / 0.695 GB, free: 6.512 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005946/0.1834, allocations: 319.4 kB / 0.6953 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0012/0.1846, allocations: 397.2 kB / 0.6957 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005535/0.1852, allocations: 306.7 kB / 0.696 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.999e-05/0.1853, allocations: 32 kB / 0.696 GB, free: 5.48 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006136/0.1859, allocations: 263.5 kB / 0.6963 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.186, allocations: 99.61 kB / 0.6964 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002588/0.1863, allocations: 215 kB / 0.6966 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0008876/0.1872, allocations: 0.6122 MB / 0.6972 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1872, allocations: 0 / 0.6972 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1872, allocations: 0 / 0.6972 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.37e-05/0.1872, allocations: 0 / 0.6972 GB, free: 4.301 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.001444/0.1887, allocations: 0.738 MB / 0.6979 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/0.1888, allocations: 8.031 kB / 0.6979 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001043/0.1889, allocations: 70.61 kB / 0.698 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002002/0.1891, allocations: 48.45 kB / 0.698 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007373/0.1898, allocations: 467.7 kB / 0.6985 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.1899, allocations: 24.69 kB / 0.6985 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.044e-05/0.1899, allocations: 24 kB / 0.6985 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005524/0.1905, allocations: 310.2 kB / 0.6988 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.1905, allocations: 3.938 kB / 0.6988 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.19e-05/0.1905, allocations: 12 kB / 0.6988 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.1906, allocations: 8 kB / 0.6988 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000461/0.191, allocations: 194.1 kB / 0.699 GB, free: 2.293 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.001932/0.193, allocations: 1.493 MB / 0.7005 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004205/0.1934, allocations: 150.6 kB / 0.7006 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.1936, allocations: 68.81 kB / 0.7007 GB, free: 456 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001385/0.1937, allocations: 89.11 kB / 0.7008 GB, free: 348 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002797/0.194, allocations: 127.2 kB / 0.7009 GB, free: 208 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.194, allocations: 0 / 0.7009 GB, free: 208 kB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0006165/0.1947, allocations: 233.1 kB / 0.7011 GB, free: 15.97 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.1947, allocations: 59.39 kB / 0.7012 GB, free: 15.9 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003547/0.1951, allocations: 357.5 kB / 0.7015 GB, free: 15.54 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.1951, allocations: 29.7 kB / 0.7015 GB, free: 15.5 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.1953, allocations: 211.8 kB / 0.7017 GB, free: 15.29 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.06e-05/0.1953, allocations: 59.19 kB / 0.7018 GB, free: 15.23 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.081e-05/0.1954, allocations: 57.62 kB / 0.7019 GB, free: 15.17 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.1955, allocations: 338.8 kB / 0.7022 GB, free: 14.83 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/0.1957, allocations: 67.95 kB / 0.7022 GB, free: 14.77 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002227/0.196, allocations: 154.1 kB / 0.7024 GB, free: 14.58 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003949/0.1964, allocations: 252.6 kB / 0.7026 GB, free: 14.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1964, allocations: 0 / 0.7026 GB, free: 14.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005927/0.197, allocations: 302.7 kB / 0.7029 GB, free: 13.99 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.208e-05/0.197, allocations: 38 kB / 0.703 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.197, allocations: 8 kB / 0.703 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.1971, allocations: 7.938 kB / 0.703 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.1973, allocations: 55.91 kB / 0.703 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.1973, allocations: 7.938 kB / 0.703 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002472/0.1976, allocations: 27.73 kB / 0.7031 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.1976, allocations: 16 kB / 0.7031 GB, free: 13.82 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.0001587/0.1978, allocations: 161.7 kB / 0.7032 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.806e-05/0.1978, allocations: 35.62 kB / 0.7033 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004386/0.1983, allocations: 192 kB / 0.7034 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.1983, allocations: 7.938 kB / 0.7035 GB, free: 13.42 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1983, allocations: 0 / 0.7035 GB, free: 13.42 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000462/0.1988, allocations: 483.7 kB / 0.7039 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004219/0.1992, allocations: 357.3 kB / 0.7043 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1992, allocations: 4 kB / 0.7043 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/0.1994, allocations: 27.98 kB / 0.7043 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.842e-06/0.1994, allocations: 4 kB / 0.7043 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.1994, allocations: 7.984 kB / 0.7043 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.1994, allocations: 3.938 kB / 0.7043 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.1994, allocations: 0 / 0.7043 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000591/0.2, allocations: 291.3 kB / 0.7046 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.2002, allocations: 120.8 kB / 0.7047 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.405e-05/0.2002, allocations: 7.984 kB / 0.7047 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002289/0.2005, allocations: 19.92 kB / 0.7047 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.929e-05/0.2005, allocations: 15.98 kB / 0.7047 GB, free: 11.94 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.2006, allocations: 7.984 kB / 0.7047 GB, free: 11.93 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002571/0.2008, allocations: 247.2 kB / 0.705 GB, free: 11.69 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2008, allocations: 0 / 0.705 GB, free: 11.69 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004247/0.2013, allocations: 132 kB / 0.7051 GB, free: 11.56 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.001081/0.2024, allocations: 0.9079 MB / 0.706 GB, free: 10.62 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004766/0.2028, allocations: 225 kB / 0.7062 GB, free: 10.39 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2029, allocations: 7.938 kB / 0.7062 GB, free: 10.39 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001723/0.203, allocations: 71.89 kB / 0.7063 GB, free: 10.32 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008965/0.2039, allocations: 218.4 kB / 0.7065 GB, free: 10.11 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004209/0.2082, allocations: 3.058 MB / 0.7095 GB, free: 6.918 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.2085, allocations: 0.784 MB / 0.7102 GB, free: 6.109 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000244/0.2088, allocations: 71.17 kB / 0.7103 GB, free: 6.039 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.209, allocations: 115.4 kB / 0.7104 GB, free: 5.926 MB / 0.545 GB Notification: Performance of SimCode: time 6.91e-07/0.209, allocations: 0 / 0.7104 GB, free: 5.926 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03108/0.2401, allocations: 10.46 MB / 0.7206 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.297/8.537, allocations: 15.08 kB / 0.7206 GB, free: 11.65 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_ExpansionVessel.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)