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.0101/0.0101, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001873/0.001873, allocations: 199.2 kB / 16.68 MB, free: 5.93 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.388/1.388, allocations: 222.9 MB / 240.4 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.8871/0.8871, allocations: 143 MB / 433.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 64.11 kB / 0.5955 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1629, allocations: 82.04 MB / 0.6756 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.02102/0.184, allocations: 20.76 MB / 0.6959 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006519/0.1905, allocations: 4.941 MB / 0.7007 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004308/0.191, allocations: 15.88 kB / 0.7007 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007089/0.1917, allocations: 278 kB / 0.701 GB, free: 268 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001649/0.1934, allocations: 0.819 MB / 0.7018 GB, free: 15.44 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001644/0.1951, allocations: 0.7189 MB / 0.7025 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001442/0.1965, allocations: 1.38 MB / 0.7038 GB, free: 13.34 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005477/0.1971, allocations: 444.4 kB / 0.7043 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008728/0.198, allocations: 0.5798 MB / 0.7048 GB, free: 12.32 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005467/0.1985, allocations: 446.1 kB / 0.7053 GB, free: 11.89 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.6e-05/0.1986, allocations: 36 kB / 0.7053 GB, free: 11.85 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001074/0.1997, allocations: 0.6394 MB / 0.7059 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.1998, allocations: 123.5 kB / 0.706 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002638/0.2001, allocations: 290.4 kB / 0.7063 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000989/0.2011, allocations: 0.8801 MB / 0.7072 GB, free: 9.922 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2011, allocations: 0 / 0.7072 GB, free: 9.922 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2011, allocations: 0 / 0.7072 GB, free: 9.922 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.2011, allocations: 0 / 0.7072 GB, free: 9.922 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.001435/0.2026, allocations: 0.9226 MB / 0.7081 GB, free: 8.949 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.2026, allocations: 8.031 kB / 0.7081 GB, free: 8.941 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.2027, allocations: 64.19 kB / 0.7081 GB, free: 8.879 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006856/0.2034, allocations: 479.4 kB / 0.7086 GB, free: 8.367 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.2034, allocations: 28.66 kB / 0.7086 GB, free: 8.34 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.241e-05/0.2035, allocations: 36 kB / 0.7087 GB, free: 8.305 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005994/0.2041, allocations: 306 kB / 0.7089 GB, free: 8 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.2041, allocations: 0 / 0.7089 GB, free: 8 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.309e-05/0.2042, allocations: 15.98 kB / 0.709 GB, free: 7.984 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.2042, allocations: 4 kB / 0.709 GB, free: 7.98 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005941/0.2048, allocations: 258.4 kB / 0.7092 GB, free: 7.727 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.001986/0.2068, allocations: 1.349 MB / 0.7105 GB, free: 6.258 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004911/0.2073, allocations: 255.1 kB / 0.7108 GB, free: 6 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002755/0.2076, allocations: 140.7 kB / 0.7109 GB, free: 5.859 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003692/0.208, allocations: 0.4947 MB / 0.7114 GB, free: 5.254 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.208, allocations: 34.56 kB / 0.7114 GB, free: 5.211 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 1.433e-06/0.208, allocations: 0 / 0.7114 GB, free: 5.211 MB / 0.545 GB Notification: Performance of matching and sorting (n=25): time 0.001684/0.2097, allocations: 0.5643 MB / 0.712 GB, free: 4.621 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.2097, allocations: 59.41 kB / 0.712 GB, free: 4.551 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000486/0.2102, allocations: 462.2 kB / 0.7125 GB, free: 4.09 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.2103, allocations: 33.7 kB / 0.7125 GB, free: 4.051 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.2104, allocations: 248.4 kB / 0.7127 GB, free: 3.801 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.359e-05/0.2105, allocations: 86.75 kB / 0.7128 GB, free: 3.715 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.2106, allocations: 73.67 kB / 0.7129 GB, free: 3.637 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.2108, allocations: 354.8 kB / 0.7132 GB, free: 3.281 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003005/0.2111, allocations: 120.8 kB / 0.7133 GB, free: 3.16 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003463/0.2114, allocations: 185.3 kB / 0.7135 GB, free: 2.961 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005905/0.212, allocations: 276.4 kB / 0.7138 GB, free: 2.684 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.212, allocations: 4 kB / 0.7138 GB, free: 2.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001534/0.2136, allocations: 487.4 kB / 0.7143 GB, free: 2.195 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.2136, allocations: 4 kB / 0.7143 GB, free: 2.191 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.2136, allocations: 4 kB / 0.7143 GB, free: 2.188 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004115/0.2141, allocations: 56.75 kB / 0.7143 GB, free: 2.129 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003608/0.2144, allocations: 59.95 kB / 0.7144 GB, free: 2.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004191/0.2149, allocations: 0.5717 MB / 0.7149 GB, free: 1.473 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003935/0.2153, allocations: 55.73 kB / 0.715 GB, free: 1.418 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.995e-05/0.2153, allocations: 15.98 kB / 0.715 GB, free: 1.402 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003988/0.2157, allocations: 243.9 kB / 0.7152 GB, free: 1.16 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000322/0.216, allocations: 177.9 kB / 0.7154 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005334/0.2166, allocations: 268.9 kB / 0.7157 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.363e-06/0.2166, allocations: 0 / 0.7157 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007308/0.2173, allocations: 361 kB / 0.716 GB, free: 348 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.2174, allocations: 11.98 kB / 0.716 GB, free: 336 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-06/0.2174, allocations: 0 / 0.716 GB, free: 336 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.747e-06/0.2174, allocations: 7.922 kB / 0.716 GB, free: 328 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003793/0.2178, allocations: 87.83 kB / 0.7161 GB, free: 240 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-06/0.2178, allocations: 0 / 0.7161 GB, free: 240 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003947/0.2182, allocations: 51.7 kB / 0.7162 GB, free: 188 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.204e-05/0.2182, allocations: 19.92 kB / 0.7162 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.0001515/0.2184, allocations: 196.2 kB / 0.7164 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.072e-05/0.2185, allocations: 47.44 kB / 0.7164 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008984/0.2194, allocations: 427.9 kB / 0.7168 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.2194, allocations: 0 / 0.7168 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.2194, allocations: 3.984 kB / 0.7168 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.2194, allocations: 4 kB / 0.7168 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/0.2208, allocations: 0.9451 MB / 0.7177 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.2208, allocations: 0 / 0.7177 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002264/0.221, allocations: 55.89 kB / 0.7178 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001727/0.2212, allocations: 44.77 kB / 0.7178 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.395e-05/0.2213, allocations: 8 kB / 0.7179 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003273/0.2216, allocations: 0.5563 MB / 0.7184 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.2216, allocations: 11.88 kB / 0.7184 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007503/0.2224, allocations: 495.1 kB / 0.7189 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/0.2225, allocations: 152.4 kB / 0.719 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.317e-05/0.2226, allocations: 8 kB / 0.719 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003063/0.2229, allocations: 23.97 kB / 0.7191 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.615e-05/0.223, allocations: 35.7 kB / 0.7191 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.661e-05/0.223, allocations: 15.98 kB / 0.7191 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003326/0.2234, allocations: 322.9 kB / 0.7194 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2234, allocations: 0 / 0.7194 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00071/0.2241, allocations: 251.5 kB / 0.7197 GB, free: 12.43 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.0005144/0.2246, allocations: 258.7 kB / 0.7199 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001137/0.2257, allocations: 460.6 kB / 0.7203 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.2258, allocations: 0 / 0.7203 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003961/0.2262, allocations: 172.8 kB / 0.7205 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009763/0.2271, allocations: 227.9 kB / 0.7207 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.2285, allocations: 0.8224 MB / 0.7215 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.2289, allocations: 0.8549 MB / 0.7224 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000345/0.2292, allocations: 119.2 kB / 0.7225 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.504e-05/0.2293, allocations: 43.42 kB / 0.7225 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of SimCode: time 2.81e-07/0.2293, allocations: 0 / 0.7225 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of Templates: time 0.01715/0.2465, allocations: 10.31 MB / 0.7326 GB, free: 15.29 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)