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.005053/0.005053, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001229/0.001229, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.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.9947/0.9947, allocations: 143 MB / 433.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 67.89 kB / 0.5955 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4094/0.4106, allocations: 82.03 MB / 0.6756 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.02037/0.431, allocations: 20.75 MB / 0.6959 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00674/0.4378, allocations: 4.947 MB / 0.7007 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007418/0.4386, allocations: 15.88 kB / 0.7007 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008862/0.4395, allocations: 286 kB / 0.701 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002152/0.4417, allocations: 0.8551 MB / 0.7018 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001814/0.4435, allocations: 0.708 MB / 0.7025 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002085/0.4456, allocations: 1.399 MB / 0.7039 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007707/0.4464, allocations: 424.5 kB / 0.7043 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001107/0.4475, allocations: 0.5838 MB / 0.7049 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007921/0.4483, allocations: 450 kB / 0.7053 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001197/0.4484, allocations: 36 kB / 0.7053 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001389/0.4498, allocations: 0.6355 MB / 0.706 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002618/0.4501, allocations: 123.6 kB / 0.7061 GB, free: 7.223 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004357/0.4505, allocations: 294.4 kB / 0.7064 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001396/0.4519, allocations: 0.8701 MB / 0.7072 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.452, allocations: 4 kB / 0.7072 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.405e-06/0.452, allocations: 7.922 kB / 0.7072 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.359e-05/0.452, allocations: 0 / 0.7072 GB, free: 6.055 MB / 0.5294 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.001916/0.4539, allocations: 0.9264 MB / 0.7081 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.454, allocations: 12.03 kB / 0.7081 GB, free: 5.066 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/0.4542, allocations: 60.19 kB / 0.7082 GB, free: 5.008 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008894/0.4551, allocations: 479.3 kB / 0.7086 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.867e-05/0.4551, allocations: 28.66 kB / 0.7087 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.697e-05/0.4552, allocations: 36 kB / 0.7087 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007377/0.4559, allocations: 306 kB / 0.709 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.4559, allocations: 0 / 0.709 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.699e-05/0.456, allocations: 16 kB / 0.709 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.456, allocations: 8 kB / 0.709 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000688/0.4567, allocations: 262.4 kB / 0.7093 GB, free: 3.852 MB / 0.5294 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.002407/0.4591, allocations: 1.341 MB / 0.7106 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00054/0.4597, allocations: 254.5 kB / 0.7108 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003075/0.46, allocations: 136.8 kB / 0.711 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004907/0.4605, allocations: 0.4986 MB / 0.7114 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.4605, allocations: 34.56 kB / 0.7115 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=25): time 2.084e-06/0.4605, allocations: 0 / 0.7115 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of matching and sorting (n=25): time 0.001954/0.4625, allocations: 0.5665 MB / 0.712 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.4626, allocations: 55.41 kB / 0.7121 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005442/0.4631, allocations: 462.1 kB / 0.7125 GB, free: 224 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.317e-05/0.4632, allocations: 33.92 kB / 0.7126 GB, free: 184 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/0.4634, allocations: 240.5 kB / 0.7128 GB, free: 15.93 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.749e-05/0.4635, allocations: 94.59 kB / 0.7129 GB, free: 15.84 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.4636, allocations: 69.69 kB / 0.7129 GB, free: 15.77 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.4638, allocations: 362.8 kB / 0.7133 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003313/0.4641, allocations: 120.8 kB / 0.7134 GB, free: 15.29 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003747/0.4645, allocations: 181.7 kB / 0.7136 GB, free: 15.09 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006215/0.4651, allocations: 270.3 kB / 0.7138 GB, free: 14.82 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.4651, allocations: 0 / 0.7138 GB, free: 14.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001588/0.4667, allocations: 499.1 kB / 0.7143 GB, free: 14.32 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.4668, allocations: 4 kB / 0.7143 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.4668, allocations: 8 kB / 0.7143 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003853/0.4672, allocations: 64.75 kB / 0.7144 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003709/0.4675, allocations: 71.88 kB / 0.7144 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004293/0.468, allocations: 0.5562 MB / 0.715 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004275/0.4684, allocations: 55.73 kB / 0.715 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.222e-05/0.4685, allocations: 16 kB / 0.7151 GB, free: 13.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000419/0.4689, allocations: 243.8 kB / 0.7153 GB, free: 13.28 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003485/0.4693, allocations: 178.9 kB / 0.7155 GB, free: 13.09 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005717/0.4698, allocations: 251.5 kB / 0.7157 GB, free: 12.83 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.413e-06/0.4698, allocations: 0 / 0.7157 GB, free: 12.83 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0008214/0.4707, allocations: 367.5 kB / 0.7161 GB, free: 12.47 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.4707, allocations: 13.66 kB / 0.7161 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-06/0.4707, allocations: 0 / 0.7161 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.028e-06/0.4707, allocations: 0 / 0.7161 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003928/0.4711, allocations: 87.81 kB / 0.7161 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.4711, allocations: 4 kB / 0.7162 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004253/0.4716, allocations: 51.7 kB / 0.7162 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.044e-05/0.4716, allocations: 12 kB / 0.7162 GB, free: 12.3 MB / 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.0001504/0.4718, allocations: 203.5 kB / 0.7164 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.179e-05/0.4718, allocations: 47.44 kB / 0.7165 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/0.4729, allocations: 432.8 kB / 0.7169 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.4729, allocations: 0 / 0.7169 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.4729, allocations: 4 kB / 0.7169 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.4729, allocations: 3.984 kB / 0.7169 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/0.4744, allocations: 0.941 MB / 0.7178 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.4744, allocations: 4 kB / 0.7178 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002222/0.4746, allocations: 56.03 kB / 0.7179 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001933/0.4748, allocations: 40.83 kB / 0.7179 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/0.4749, allocations: 11.98 kB / 0.7179 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003632/0.4752, allocations: 0.5563 MB / 0.7184 GB, free: 9.898 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/0.4752, allocations: 7.969 kB / 0.7185 GB, free: 9.891 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007905/0.476, allocations: 499.7 kB / 0.7189 GB, free: 9.371 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000166/0.4762, allocations: 152.4 kB / 0.7191 GB, free: 9.203 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.661e-05/0.4763, allocations: 8 kB / 0.7191 GB, free: 9.195 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003273/0.4766, allocations: 27.91 kB / 0.7191 GB, free: 9.168 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.772e-05/0.4767, allocations: 27.77 kB / 0.7191 GB, free: 9.141 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.371e-05/0.4767, allocations: 12 kB / 0.7191 GB, free: 9.129 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003767/0.4771, allocations: 322.9 kB / 0.7195 GB, free: 8.816 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4771, allocations: 4 kB / 0.7195 GB, free: 8.812 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007247/0.4779, allocations: 251.5 kB / 0.7197 GB, free: 8.566 MB / 0.545 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.0005026/0.4784, allocations: 257.3 kB / 0.7199 GB, free: 8.312 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001207/0.4796, allocations: 463.5 kB / 0.7204 GB, free: 7.859 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4796, allocations: 0 / 0.7204 GB, free: 7.859 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004165/0.48, allocations: 164.4 kB / 0.7205 GB, free: 7.699 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.4811, allocations: 228.5 kB / 0.7208 GB, free: 7.488 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.4825, allocations: 0.8259 MB / 0.7216 GB, free: 6.625 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005051/0.483, allocations: 0.8627 MB / 0.7224 GB, free: 5.734 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003839/0.4834, allocations: 119.7 kB / 0.7225 GB, free: 5.617 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.694e-05/0.4835, allocations: 43.42 kB / 0.7226 GB, free: 5.574 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.4835, allocations: 0 / 0.7226 GB, free: 5.574 MB / 0.545 GB Notification: Performance of Templates: time 0.01713/0.5007, allocations: 10.3 MB / 0.7326 GB, free: 11.43 MB / 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)