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.001341/0.001341, allocations: 117.3 kB / 16.42 MB, free: 6.5 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.001151/0.001151, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.328/1.328, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.861/0.861, allocations: 143.1 MB / 434.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 57.28 kB / 0.5962 GB, free: 12.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1415, allocations: 82.03 MB / 0.6763 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.02168/0.1633, allocations: 20.75 MB / 0.6966 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006843/0.1701, allocations: 4.957 MB / 0.7014 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007818/0.171, allocations: 15.88 kB / 0.7014 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009143/0.1719, allocations: 290 kB / 0.7017 GB, free: 296 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002316/0.1743, allocations: 0.8473 MB / 0.7025 GB, free: 15.44 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001966/0.1762, allocations: 0.719 MB / 0.7032 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001882/0.1781, allocations: 1.376 MB / 0.7046 GB, free: 13.34 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00077/0.1789, allocations: 452.3 kB / 0.705 GB, free: 12.9 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001165/0.1801, allocations: 0.5798 MB / 0.7056 GB, free: 12.32 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007989/0.1809, allocations: 450.1 kB / 0.706 GB, free: 11.88 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001439/0.1811, allocations: 40 kB / 0.706 GB, free: 11.84 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00169/0.1828, allocations: 0.6355 MB / 0.7066 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002222/0.183, allocations: 119.5 kB / 0.7068 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004888/0.1835, allocations: 286.5 kB / 0.707 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001586/0.1851, allocations: 0.8878 MB / 0.7079 GB, free: 9.91 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1851, allocations: 0 / 0.7079 GB, free: 9.91 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1851, allocations: 0 / 0.7079 GB, free: 9.91 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.753e-05/0.1851, allocations: 0 / 0.7079 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.001738/0.1869, allocations: 0.9293 MB / 0.7088 GB, free: 8.934 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.1869, allocations: 12.03 kB / 0.7088 GB, free: 8.922 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001469/0.1871, allocations: 60.19 kB / 0.7089 GB, free: 8.863 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007523/0.1879, allocations: 475.4 kB / 0.7093 GB, free: 8.355 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.734e-05/0.1879, allocations: 28.66 kB / 0.7094 GB, free: 8.328 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.268e-05/0.188, allocations: 40 kB / 0.7094 GB, free: 8.289 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006661/0.1886, allocations: 302 kB / 0.7097 GB, free: 7.988 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.1887, allocations: 0 / 0.7097 GB, free: 7.988 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.351e-05/0.1887, allocations: 12 kB / 0.7097 GB, free: 7.977 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/0.1887, allocations: 8 kB / 0.7097 GB, free: 7.969 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006294/0.1893, allocations: 266.4 kB / 0.71 GB, free: 7.707 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.002294/0.1916, allocations: 1.341 MB / 0.7113 GB, free: 6.246 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005279/0.1922, allocations: 258.4 kB / 0.7115 GB, free: 5.984 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003039/0.1925, allocations: 133.6 kB / 0.7116 GB, free: 5.852 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004363/0.1929, allocations: 0.4908 MB / 0.7121 GB, free: 5.25 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.193, allocations: 38.55 kB / 0.7122 GB, free: 5.203 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 2.054e-06/0.193, allocations: 4 kB / 0.7122 GB, free: 5.199 MB / 0.545 GB Notification: Performance of matching and sorting (n=25): time 0.001784/0.1948, allocations: 0.5633 MB / 0.7127 GB, free: 4.609 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/0.1948, allocations: 55.41 kB / 0.7128 GB, free: 4.543 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005255/0.1954, allocations: 466.2 kB / 0.7132 GB, free: 4.078 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.606e-05/0.1954, allocations: 33.7 kB / 0.7132 GB, free: 4.039 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.1956, allocations: 248.4 kB / 0.7135 GB, free: 3.789 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.466e-05/0.1957, allocations: 82.77 kB / 0.7136 GB, free: 3.707 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.1958, allocations: 77.61 kB / 0.7136 GB, free: 3.625 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1959, allocations: 354.8 kB / 0.714 GB, free: 3.27 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003196/0.1963, allocations: 120.8 kB / 0.7141 GB, free: 3.148 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003723/0.1967, allocations: 181 kB / 0.7143 GB, free: 2.953 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006257/0.1973, allocations: 281 kB / 0.7145 GB, free: 2.672 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1973, allocations: 0 / 0.7145 GB, free: 2.672 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001622/0.1989, allocations: 495.4 kB / 0.715 GB, free: 2.18 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.199, allocations: 4 kB / 0.715 GB, free: 2.176 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.199, allocations: 4 kB / 0.715 GB, free: 2.172 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003575/0.1993, allocations: 52.81 kB / 0.7151 GB, free: 2.117 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000358/0.1997, allocations: 71.89 kB / 0.7151 GB, free: 2.047 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00043/0.2001, allocations: 0.564 MB / 0.7157 GB, free: 1.457 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004447/0.2006, allocations: 55.61 kB / 0.7157 GB, free: 1.402 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.975e-05/0.2007, allocations: 19.98 kB / 0.7157 GB, free: 1.383 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004283/0.2011, allocations: 243.9 kB / 0.716 GB, free: 1.141 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003508/0.2015, allocations: 174 kB / 0.7161 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005748/0.202, allocations: 264.8 kB / 0.7164 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.174e-06/0.2021, allocations: 0 / 0.7164 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0008474/0.2029, allocations: 360.8 kB / 0.7167 GB, free: 336 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.2029, allocations: 8 kB / 0.7167 GB, free: 328 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.2029, allocations: 3.984 kB / 0.7168 GB, free: 324 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.868e-06/0.2029, allocations: 0 / 0.7168 GB, free: 324 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003838/0.2033, allocations: 83.89 kB / 0.7168 GB, free: 240 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.2034, allocations: 7.938 kB / 0.7168 GB, free: 232 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004239/0.2038, allocations: 43.7 kB / 0.7169 GB, free: 188 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.77e-05/0.2038, allocations: 19.98 kB / 0.7169 GB, free: 168 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.0001551/0.204, allocations: 196.1 kB / 0.7171 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.191e-05/0.2041, allocations: 51.44 kB / 0.7171 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009754/0.2051, allocations: 431.8 kB / 0.7175 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.2051, allocations: 3.984 kB / 0.7176 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-06/0.2051, allocations: 0 / 0.7176 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001728/0.2053, allocations: 148.6 kB / 0.7177 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.01e-05/0.2053, allocations: 4 kB / 0.7177 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003217/0.2057, allocations: 27.95 kB / 0.7177 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.459e-05/0.2058, allocations: 20.2 kB / 0.7177 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001058/0.2068, allocations: 450.2 kB / 0.7182 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001179/0.208, allocations: 0.6859 MB / 0.7188 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003265/0.2083, allocations: 140.6 kB / 0.719 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003888/0.2087, allocations: 318.9 kB / 0.7193 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of Backend: time 1.162e-06/0.2088, allocations: 4 kB / 0.7193 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002173/0.2109, allocations: 0.6138 MB / 0.7199 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of SimCode: time 0.002248/0.2132, allocations: 1.371 MB / 0.7212 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of Templates: time 0.02084/0.2341, allocations: 11.72 MB / 0.7327 GB, free: 52 kB / 0.5606 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)