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.008221/0.008221, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001952/0.001953, allocations: 191.9 kB / 16.67 MB, free: 5.969 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.376/1.376, 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.8822/0.8822, allocations: 143 MB / 433.6 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 59.62 kB / 0.5955 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1853, allocations: 82.04 MB / 0.6756 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.0215/0.2068, allocations: 20.75 MB / 0.6959 GB, free: 5.52 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01001/0.2169, allocations: 4.949 MB / 0.7007 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001882/0.2189, allocations: 15.88 kB / 0.7007 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001454/0.2204, allocations: 274 kB / 0.701 GB, free: 280 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003451/0.2239, allocations: 0.8162 MB / 0.7018 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002903/0.2268, allocations: 0.7107 MB / 0.7025 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002597/0.2294, allocations: 1.387 MB / 0.7038 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008248/0.2303, allocations: 440.4 kB / 0.7043 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00131/0.2316, allocations: 0.572 MB / 0.7048 GB, free: 12.35 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009546/0.2326, allocations: 450.1 kB / 0.7052 GB, free: 11.91 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.397e-05/0.2327, allocations: 36 kB / 0.7053 GB, free: 11.88 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001598/0.2343, allocations: 0.6355 MB / 0.7059 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.2345, allocations: 123.5 kB / 0.706 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003345/0.2348, allocations: 290.5 kB / 0.7063 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001274/0.2361, allocations: 0.8755 MB / 0.7071 GB, free: 9.953 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.2361, allocations: 4 kB / 0.7072 GB, free: 9.949 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2361, allocations: 0 / 0.7072 GB, free: 9.949 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.999e-06/0.2361, allocations: 4 kB / 0.7072 GB, free: 9.945 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.001614/0.2377, allocations: 0.9466 MB / 0.7081 GB, free: 8.949 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.2378, allocations: 12.03 kB / 0.7081 GB, free: 8.938 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001334/0.2379, allocations: 64.56 kB / 0.7082 GB, free: 8.875 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007499/0.2387, allocations: 487.8 kB / 0.7086 GB, free: 8.355 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.195e-05/0.2387, allocations: 28.66 kB / 0.7086 GB, free: 8.328 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.725e-05/0.2388, allocations: 32 kB / 0.7087 GB, free: 8.297 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006517/0.2394, allocations: 306 kB / 0.709 GB, free: 7.992 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.2395, allocations: 0 / 0.709 GB, free: 7.992 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.402e-05/0.2395, allocations: 16 kB / 0.709 GB, free: 7.977 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.2395, allocations: 4 kB / 0.709 GB, free: 7.973 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006266/0.2402, allocations: 262.4 kB / 0.7092 GB, free: 7.715 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.002123/0.2423, allocations: 1.341 MB / 0.7105 GB, free: 6.254 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005057/0.2428, allocations: 263.1 kB / 0.7108 GB, free: 5.988 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003023/0.2431, allocations: 140.7 kB / 0.7109 GB, free: 5.848 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004308/0.2436, allocations: 0.4986 MB / 0.7114 GB, free: 5.238 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.2436, allocations: 38.56 kB / 0.7115 GB, free: 5.191 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 1.413e-06/0.2436, allocations: 0 / 0.7115 GB, free: 5.191 MB / 0.545 GB Notification: Performance of matching and sorting (n=25): time 0.001765/0.2454, allocations: 0.5647 MB / 0.712 GB, free: 4.602 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.2454, allocations: 55.41 kB / 0.7121 GB, free: 4.535 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000505/0.246, allocations: 462.1 kB / 0.7125 GB, free: 4.074 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.292e-05/0.246, allocations: 33.7 kB / 0.7125 GB, free: 4.035 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.2462, allocations: 244.6 kB / 0.7128 GB, free: 3.789 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.775e-05/0.2462, allocations: 91.2 kB / 0.7129 GB, free: 3.699 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.2464, allocations: 77.64 kB / 0.7129 GB, free: 3.617 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.2465, allocations: 358.8 kB / 0.7133 GB, free: 3.258 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003124/0.2468, allocations: 132.8 kB / 0.7134 GB, free: 3.125 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003676/0.2472, allocations: 173 kB / 0.7136 GB, free: 2.938 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006068/0.2478, allocations: 280.7 kB / 0.7138 GB, free: 2.656 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2478, allocations: 0 / 0.7138 GB, free: 2.656 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001523/0.2494, allocations: 491.3 kB / 0.7143 GB, free: 2.168 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.2494, allocations: 4 kB / 0.7143 GB, free: 2.164 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.2494, allocations: 0 / 0.7143 GB, free: 2.164 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003635/0.2498, allocations: 60.75 kB / 0.7144 GB, free: 2.102 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000344/0.2501, allocations: 63.95 kB / 0.7144 GB, free: 2.039 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004729/0.2506, allocations: 0.5678 MB / 0.715 GB, free: 1.445 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004116/0.251, allocations: 59.83 kB / 0.715 GB, free: 1.387 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.88e-05/0.2511, allocations: 8 kB / 0.715 GB, free: 1.379 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004154/0.2515, allocations: 247.8 kB / 0.7153 GB, free: 1.133 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003508/0.2519, allocations: 170 kB / 0.7154 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005818/0.2525, allocations: 264.2 kB / 0.7157 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.462e-06/0.2525, allocations: 4 kB / 0.7157 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.000786/0.2533, allocations: 367.3 kB / 0.716 GB, free: 324 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.2533, allocations: 8 kB / 0.7161 GB, free: 316 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.2533, allocations: 4 kB / 0.7161 GB, free: 312 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.196e-06/0.2533, allocations: 3.938 kB / 0.7161 GB, free: 308 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003721/0.2537, allocations: 87.81 kB / 0.7161 GB, free: 220 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.2537, allocations: 3.984 kB / 0.7161 GB, free: 216 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004055/0.2541, allocations: 43.84 kB / 0.7162 GB, free: 172 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.88e-05/0.2542, allocations: 16 kB / 0.7162 GB, free: 156 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.0001605/0.2543, allocations: 196.3 kB / 0.7164 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.626e-05/0.2544, allocations: 55.59 kB / 0.7164 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009837/0.2554, allocations: 432 kB / 0.7169 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.2554, allocations: 7.984 kB / 0.7169 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.2554, allocations: 0 / 0.7169 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.2554, allocations: 0 / 0.7169 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001521/0.257, allocations: 0.9568 MB / 0.7178 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.257, allocations: 0 / 0.7178 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002243/0.2572, allocations: 47.91 kB / 0.7178 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001811/0.2574, allocations: 44.89 kB / 0.7179 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/0.2574, allocations: 11.98 kB / 0.7179 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003938/0.2578, allocations: 0.5563 MB / 0.7184 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.2579, allocations: 7.875 kB / 0.7185 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008295/0.2587, allocations: 499.3 kB / 0.7189 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001654/0.2589, allocations: 164.7 kB / 0.7191 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.87e-05/0.2589, allocations: 8 kB / 0.7191 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003194/0.2593, allocations: 23.97 kB / 0.7191 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.882e-05/0.2593, allocations: 31.7 kB / 0.7191 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.517e-05/0.2594, allocations: 12 kB / 0.7192 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003596/0.2597, allocations: 318.9 kB / 0.7195 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2598, allocations: 4 kB / 0.7195 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007984/0.2606, allocations: 251.5 kB / 0.7197 GB, free: 12.39 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.0005639/0.2611, allocations: 251.1 kB / 0.7199 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001214/0.2624, allocations: 471.4 kB / 0.7204 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.2624, allocations: 0 / 0.7204 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004194/0.2628, allocations: 170 kB / 0.7206 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.2639, allocations: 229.2 kB / 0.7208 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.2654, allocations: 0.8436 MB / 0.7216 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/0.2658, allocations: 0.8588 MB / 0.7224 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003988/0.2662, allocations: 112.1 kB / 0.7225 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.979e-05/0.2663, allocations: 39.44 kB / 0.7226 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of SimCode: time 4.91e-07/0.2663, allocations: 0 / 0.7226 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of Templates: time 0.02143/0.2878, allocations: 10.32 MB / 0.7327 GB, free: 15.21 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)