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: 104.3 kB / 16.41 MB, free: 6.516 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.001282/0.001282, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.334/1.334, allocations: 222.9 MB / 241 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.8847/0.8847, allocations: 143.1 MB / 434.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 58.91 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1639, allocations: 82.05 MB / 0.6763 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.02252/0.1865, allocations: 20.78 MB / 0.6966 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007226/0.1937, allocations: 4.968 MB / 0.7014 GB, free: 500 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006986/0.1944, allocations: 15.88 kB / 0.7015 GB, free: 484 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008011/0.1952, allocations: 286 kB / 0.7017 GB, free: 196 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002095/0.1973, allocations: 0.8545 MB / 0.7026 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001817/0.1991, allocations: 0.711 MB / 0.7033 GB, free: 14.63 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001814/0.2009, allocations: 1.38 MB / 0.7046 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005733/0.2015, allocations: 388.4 kB / 0.705 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009711/0.2025, allocations: 0.572 MB / 0.7055 GB, free: 12.29 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006053/0.2031, allocations: 458 kB / 0.706 GB, free: 11.84 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.328e-05/0.2031, allocations: 40 kB / 0.706 GB, free: 11.8 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0013/0.2044, allocations: 0.6316 MB / 0.7066 GB, free: 11.17 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001564/0.2046, allocations: 127.5 kB / 0.7068 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003086/0.2049, allocations: 294.3 kB / 0.707 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001375/0.2063, allocations: 0.8756 MB / 0.7079 GB, free: 9.875 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.2063, allocations: 0 / 0.7079 GB, free: 9.875 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2063, allocations: 0 / 0.7079 GB, free: 9.875 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.378e-06/0.2063, allocations: 0 / 0.7079 GB, free: 9.875 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.001834/0.2081, allocations: 0.9451 MB / 0.7088 GB, free: 8.879 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.2082, allocations: 12.03 kB / 0.7088 GB, free: 8.867 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001464/0.2083, allocations: 64.56 kB / 0.7089 GB, free: 8.805 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007873/0.2091, allocations: 491.8 kB / 0.7094 GB, free: 8.281 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.2091, allocations: 20.66 kB / 0.7094 GB, free: 8.262 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.762e-05/0.2092, allocations: 36 kB / 0.7094 GB, free: 8.227 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007105/0.2099, allocations: 306 kB / 0.7097 GB, free: 7.922 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.2099, allocations: 0 / 0.7097 GB, free: 7.922 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.776e-05/0.21, allocations: 15.98 kB / 0.7097 GB, free: 7.906 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.21, allocations: 8 kB / 0.7097 GB, free: 7.898 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007165/0.2107, allocations: 262.4 kB / 0.71 GB, free: 7.641 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.00241/0.2131, allocations: 1.345 MB / 0.7113 GB, free: 6.176 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005627/0.2137, allocations: 246.4 kB / 0.7115 GB, free: 5.926 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000302/0.214, allocations: 125.7 kB / 0.7116 GB, free: 5.801 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005539/0.2145, allocations: 0.4947 MB / 0.7121 GB, free: 5.195 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.878e-05/0.2146, allocations: 34.56 kB / 0.7122 GB, free: 5.152 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 1.563e-06/0.2146, allocations: 0 / 0.7122 GB, free: 5.152 MB / 0.545 GB Notification: Performance of matching and sorting (n=25): time 0.001862/0.2164, allocations: 0.5636 MB / 0.7127 GB, free: 4.562 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.2165, allocations: 55.41 kB / 0.7128 GB, free: 4.496 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005441/0.217, allocations: 466.1 kB / 0.7132 GB, free: 4.031 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.346e-05/0.2171, allocations: 33.7 kB / 0.7132 GB, free: 3.992 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/0.2173, allocations: 248.6 kB / 0.7135 GB, free: 3.742 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.83e-05/0.2174, allocations: 91.22 kB / 0.7136 GB, free: 3.652 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.2175, allocations: 81.62 kB / 0.7136 GB, free: 3.566 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002308/0.2177, allocations: 354.8 kB / 0.714 GB, free: 3.211 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003495/0.2181, allocations: 121 kB / 0.7141 GB, free: 3.09 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003978/0.2185, allocations: 185 kB / 0.7143 GB, free: 2.891 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006426/0.2191, allocations: 263.5 kB / 0.7145 GB, free: 2.625 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2191, allocations: 4 kB / 0.7145 GB, free: 2.621 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001592/0.2207, allocations: 491.1 kB / 0.715 GB, free: 2.133 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.2207, allocations: 8 kB / 0.715 GB, free: 2.125 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.2207, allocations: 3.984 kB / 0.715 GB, free: 2.121 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003506/0.2211, allocations: 60.69 kB / 0.7151 GB, free: 2.059 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003514/0.2214, allocations: 71.89 kB / 0.7151 GB, free: 1.988 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005465/0.222, allocations: 0.568 MB / 0.7157 GB, free: 1.395 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004168/0.2224, allocations: 51.73 kB / 0.7157 GB, free: 1.344 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.213e-05/0.2224, allocations: 12 kB / 0.7157 GB, free: 1.332 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004441/0.2229, allocations: 247.7 kB / 0.716 GB, free: 1.086 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000367/0.2232, allocations: 178.2 kB / 0.7162 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006524/0.2239, allocations: 264.3 kB / 0.7164 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.236e-06/0.2239, allocations: 3.984 kB / 0.7164 GB, free: 0.625 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0008521/0.2248, allocations: 366.4 kB / 0.7168 GB, free: 268 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.2248, allocations: 8 kB / 0.7168 GB, free: 260 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-06/0.2248, allocations: 0 / 0.7168 GB, free: 260 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.101e-06/0.2248, allocations: 4 kB / 0.7168 GB, free: 256 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003911/0.2252, allocations: 83.81 kB / 0.7168 GB, free: 172 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.2252, allocations: 4 kB / 0.7169 GB, free: 168 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003995/0.2256, allocations: 47.78 kB / 0.7169 GB, free: 120 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.666e-05/0.2256, allocations: 19.98 kB / 0.7169 GB, free: 100 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.0001691/0.2258, allocations: 196.2 kB / 0.7171 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.537e-05/0.2259, allocations: 51.67 kB / 0.7172 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/0.227, allocations: 435.8 kB / 0.7176 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.227, allocations: 0 / 0.7176 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.227, allocations: 0 / 0.7176 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.503e-06/0.227, allocations: 7.984 kB / 0.7176 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00163/0.2286, allocations: 0.9412 MB / 0.7185 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.2286, allocations: 0 / 0.7185 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002333/0.2289, allocations: 55.89 kB / 0.7186 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001817/0.229, allocations: 36.84 kB / 0.7186 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.588e-05/0.2291, allocations: 11.98 kB / 0.7186 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004224/0.2295, allocations: 0.5525 MB / 0.7191 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.2295, allocations: 7.875 kB / 0.7191 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009233/0.2304, allocations: 499.3 kB / 0.7196 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002494/0.2307, allocations: 160.7 kB / 0.7198 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.243e-05/0.2307, allocations: 4 kB / 0.7198 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003324/0.2311, allocations: 27.97 kB / 0.7198 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.907e-05/0.2311, allocations: 39.7 kB / 0.7198 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-05/0.2312, allocations: 12 kB / 0.7199 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004283/0.2316, allocations: 318.9 kB / 0.7202 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2316, allocations: 0 / 0.7202 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009545/0.2326, allocations: 255.5 kB / 0.7204 GB, free: 12.36 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.0006548/0.2332, allocations: 277.7 kB / 0.7207 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001351/0.2346, allocations: 438.2 kB / 0.7211 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.2346, allocations: 3.938 kB / 0.7211 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004264/0.235, allocations: 160.7 kB / 0.7212 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.2361, allocations: 214.9 kB / 0.7214 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.2377, allocations: 0.8695 MB / 0.7223 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006099/0.2383, allocations: 0.851 MB / 0.7231 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.2385, allocations: 47.42 kB / 0.7232 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of SimCode: time 5.01e-07/0.2385, allocations: 7.938 kB / 0.7232 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of Templates: time 0.01617/0.2546, allocations: 10.35 MB / 0.7333 GB, free: 15.18 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)