Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve.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.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve") translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 107.3 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.001213/0.001214, allocations: 188.9 kB / 17.34 MB, free: 5.695 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.262/1.262, allocations: 222.9 MB / 241 MB, free: 15.07 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.8357/0.8357, allocations: 143 MB / 434.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 64.5 kB / 0.5962 GB, free: 12.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1475, allocations: 82.03 MB / 0.6763 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.02326/0.1708, allocations: 20.76 MB / 0.6966 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006803/0.1777, allocations: 4.941 MB / 0.7014 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006955/0.1784, allocations: 19.88 kB / 0.7014 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009107/0.1793, allocations: 274 kB / 0.7017 GB, free: 252 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002174/0.1815, allocations: 0.8266 MB / 0.7025 GB, free: 15.42 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001901/0.1835, allocations: 0.7117 MB / 0.7032 GB, free: 14.71 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002223/0.1857, allocations: 1.383 MB / 0.7045 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007595/0.1865, allocations: 444.3 kB / 0.7049 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001079/0.1876, allocations: 0.576 MB / 0.7055 GB, free: 12.31 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007484/0.1883, allocations: 446 kB / 0.7059 GB, free: 11.87 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.1885, allocations: 44 kB / 0.706 GB, free: 11.83 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001218/0.1897, allocations: 0.6355 MB / 0.7066 GB, free: 11.19 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.1898, allocations: 115.6 kB / 0.7067 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003451/0.1902, allocations: 286.5 kB / 0.707 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001263/0.1915, allocations: 0.8839 MB / 0.7078 GB, free: 9.91 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1915, allocations: 0 / 0.7078 GB, free: 9.91 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1915, allocations: 0 / 0.7078 GB, free: 9.91 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.567e-05/0.1915, allocations: 0 / 0.7078 GB, free: 9.91 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001703/0.1932, allocations: 0.9281 MB / 0.7087 GB, free: 8.934 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.1933, allocations: 8.031 kB / 0.7088 GB, free: 8.926 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001568/0.1934, allocations: 64.19 kB / 0.7088 GB, free: 8.863 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008113/0.1942, allocations: 479.4 kB / 0.7093 GB, free: 8.352 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.115e-05/0.1943, allocations: 24.66 kB / 0.7093 GB, free: 8.328 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.813e-05/0.1944, allocations: 40 kB / 0.7093 GB, free: 8.289 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006625/0.195, allocations: 306 kB / 0.7096 GB, free: 7.984 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.195, allocations: 4 kB / 0.7096 GB, free: 7.98 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.153e-05/0.1951, allocations: 8 kB / 0.7096 GB, free: 7.973 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.1951, allocations: 8 kB / 0.7096 GB, free: 7.965 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006128/0.1957, allocations: 270.4 kB / 0.7099 GB, free: 7.699 MB / 0.545 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.002215/0.1979, allocations: 1.341 MB / 0.7112 GB, free: 6.238 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004998/0.1984, allocations: 255.2 kB / 0.7115 GB, free: 5.98 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002793/0.1987, allocations: 136.8 kB / 0.7116 GB, free: 5.844 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003769/0.1991, allocations: 0.4947 MB / 0.7121 GB, free: 5.238 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.1992, allocations: 34.56 kB / 0.7121 GB, free: 5.195 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 2.104e-06/0.1992, allocations: 4 kB / 0.7121 GB, free: 5.191 MB / 0.545 GB Notification: Performance of matching and sorting (n=25): time 0.00167/0.2008, allocations: 0.5643 MB / 0.7127 GB, free: 4.602 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.2009, allocations: 51.41 kB / 0.7127 GB, free: 4.539 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004909/0.2014, allocations: 470.2 kB / 0.7132 GB, free: 4.07 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.927e-05/0.2014, allocations: 33.7 kB / 0.7132 GB, free: 4.031 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.2016, allocations: 248.4 kB / 0.7134 GB, free: 3.781 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.207e-05/0.2017, allocations: 82.75 kB / 0.7135 GB, free: 3.699 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.2018, allocations: 73.67 kB / 0.7136 GB, free: 3.621 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.2019, allocations: 358.8 kB / 0.7139 GB, free: 3.262 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000296/0.2022, allocations: 120.8 kB / 0.714 GB, free: 3.141 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003437/0.2026, allocations: 181 kB / 0.7142 GB, free: 2.945 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005691/0.2032, allocations: 275 kB / 0.7145 GB, free: 2.668 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.2032, allocations: 0 / 0.7145 GB, free: 2.668 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001505/0.2047, allocations: 495.2 kB / 0.7149 GB, free: 2.176 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.2047, allocations: 8 kB / 0.7149 GB, free: 2.168 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.2047, allocations: 0 / 0.7149 GB, free: 2.168 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003813/0.2051, allocations: 56.84 kB / 0.715 GB, free: 2.109 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003642/0.2055, allocations: 71.89 kB / 0.7151 GB, free: 2.039 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004452/0.206, allocations: 0.564 MB / 0.7156 GB, free: 1.449 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004315/0.2064, allocations: 47.64 kB / 0.7157 GB, free: 1.402 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.893e-05/0.2065, allocations: 19.98 kB / 0.7157 GB, free: 1.383 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003957/0.2069, allocations: 243.9 kB / 0.7159 GB, free: 1.141 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003234/0.2072, allocations: 177.9 kB / 0.7161 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000547/0.2078, allocations: 263.8 kB / 0.7163 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.863e-06/0.2078, allocations: 0 / 0.7163 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007806/0.2086, allocations: 366.9 kB / 0.7167 GB, free: 328 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.2086, allocations: 4 kB / 0.7167 GB, free: 324 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.2086, allocations: 3.984 kB / 0.7167 GB, free: 320 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.686e-06/0.2086, allocations: 4 kB / 0.7167 GB, free: 316 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003929/0.209, allocations: 83.83 kB / 0.7168 GB, free: 232 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.209, allocations: 4 kB / 0.7168 GB, free: 228 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004182/0.2094, allocations: 47.7 kB / 0.7168 GB, free: 180 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/0.2095, allocations: 15.98 kB / 0.7168 GB, free: 164 kB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * 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,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000165/0.2096, allocations: 200.2 kB / 0.717 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.608e-05/0.2097, allocations: 47.38 kB / 0.7171 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009254/0.2107, allocations: 431.9 kB / 0.7175 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.2107, allocations: 4 kB / 0.7175 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.2107, allocations: 0 / 0.7175 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.2107, allocations: 3.984 kB / 0.7175 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/0.2122, allocations: 0.9528 MB / 0.7184 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.2123, allocations: 0 / 0.7184 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002426/0.2125, allocations: 51.89 kB / 0.7185 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001755/0.2127, allocations: 40.83 kB / 0.7185 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.833e-05/0.2127, allocations: 12.12 kB / 0.7185 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003895/0.2131, allocations: 0.5641 MB / 0.7191 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.175e-06/0.2131, allocations: 3.938 kB / 0.7191 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008102/0.214, allocations: 491.1 kB / 0.7196 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001889/0.2142, allocations: 152.5 kB / 0.7197 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.666e-05/0.2142, allocations: 8 kB / 0.7197 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003256/0.2146, allocations: 31.91 kB / 0.7197 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.305e-05/0.2147, allocations: 35.75 kB / 0.7198 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.428e-05/0.2147, allocations: 11.98 kB / 0.7198 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003345/0.215, allocations: 318.9 kB / 0.7201 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.215, allocations: 0 / 0.7201 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007322/0.2158, allocations: 255.5 kB / 0.7203 GB, free: 12.41 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005858/0.2164, allocations: 257.1 kB / 0.7206 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001166/0.2175, allocations: 467.7 kB / 0.721 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.2176, allocations: 0 / 0.721 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003792/0.2179, allocations: 168.4 kB / 0.7212 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.219, allocations: 225.6 kB / 0.7214 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.2205, allocations: 0.8584 MB / 0.7222 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.2209, allocations: 0.851 MB / 0.7231 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.221, allocations: 47.42 kB / 0.7231 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/0.221, allocations: 0 / 0.7231 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.01397/0.235, allocations: 10.29 MB / 0.7332 GB, free: 15.3 MB / 0.5762 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)