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.001141/0.001141, allocations: 105.1 kB / 15.98 MB, free: 6.355 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.001097/0.001097, allocations: 196.5 kB / 16.91 MB, free: 6.191 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.429/1.429, allocations: 222.9 MB / 240.6 MB, free: 15.45 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.8794/0.8794, allocations: 143.1 MB / 433.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 63.91 kB / 0.5143 GB, free: 15.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4039/0.4051, allocations: 82.03 MB / 0.5944 GB, free: 16.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.01652/0.4217, allocations: 20.62 MB / 0.6146 GB, free: 11.73 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008617/0.4303, allocations: 4.925 MB / 0.6194 GB, free: 6.828 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001015/0.4314, allocations: 16.5 kB / 0.6194 GB, free: 6.812 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009242/0.4324, allocations: 231.4 kB / 0.6196 GB, free: 6.586 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002319/0.4347, allocations: 0.7607 MB / 0.6204 GB, free: 5.832 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001926/0.4367, allocations: 0.6562 MB / 0.621 GB, free: 5.191 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001774/0.4384, allocations: 1.38 MB / 0.6223 GB, free: 3.805 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006023/0.4391, allocations: 437.4 kB / 0.6228 GB, free: 3.387 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/0.4401, allocations: 0.5658 MB / 0.6233 GB, free: 2.82 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005696/0.4407, allocations: 474 kB / 0.6238 GB, free: 2.355 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.313e-05/0.4408, allocations: 36 kB / 0.6238 GB, free: 2.32 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001257/0.442, allocations: 0.6394 MB / 0.6244 GB, free: 1.68 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.4422, allocations: 119.6 kB / 0.6245 GB, free: 1.562 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002708/0.4424, allocations: 290.4 kB / 0.6248 GB, free: 1.277 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007862/0.4432, allocations: 0.6295 MB / 0.6254 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.4433, allocations: 0 / 0.6254 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.949e-06/0.4433, allocations: 0 / 0.6254 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.397e-06/0.4433, allocations: 3.938 kB / 0.6254 GB, free: 0.6445 MB / 462.1 MB 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.001553/0.4448, allocations: 0.9265 MB / 0.6263 GB, free: 15.67 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.4449, allocations: 8.031 kB / 0.6263 GB, free: 15.66 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001304/0.445, allocations: 68.19 kB / 0.6264 GB, free: 15.59 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005782/0.4456, allocations: 451.4 kB / 0.6268 GB, free: 15.11 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.4457, allocations: 28.66 kB / 0.6269 GB, free: 15.09 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.24e-05/0.4457, allocations: 36 kB / 0.6269 GB, free: 15.05 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006333/0.4464, allocations: 306 kB / 0.6272 GB, free: 14.75 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.4464, allocations: 0 / 0.6272 GB, free: 14.75 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.203e-05/0.4464, allocations: 12 kB / 0.6272 GB, free: 14.73 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.4464, allocations: 8 kB / 0.6272 GB, free: 14.73 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006246/0.4471, allocations: 270.4 kB / 0.6275 GB, free: 14.46 MB / 478.1 MB 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.002059/0.4491, allocations: 1.345 MB / 0.6288 GB, free: 13 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004971/0.4496, allocations: 250.5 kB / 0.629 GB, free: 12.74 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003153/0.45, allocations: 136.7 kB / 0.6292 GB, free: 12.61 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004948/0.4505, allocations: 0.4947 MB / 0.6296 GB, free: 12 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.4505, allocations: 34.59 kB / 0.6297 GB, free: 11.96 MB / 478.1 MB Notification: Performance of pre-optimization done (n=25): time 1.934e-06/0.4505, allocations: 0 / 0.6297 GB, free: 11.96 MB / 478.1 MB Notification: Performance of matching and sorting (n=25): time 0.001796/0.4523, allocations: 0.5626 MB / 0.6302 GB, free: 11.37 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.4524, allocations: 55.41 kB / 0.6303 GB, free: 11.3 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005012/0.4529, allocations: 462.1 kB / 0.6307 GB, free: 10.84 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.97e-05/0.4529, allocations: 37.7 kB / 0.6307 GB, free: 10.8 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.4531, allocations: 248.5 kB / 0.631 GB, free: 10.55 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.202e-05/0.4532, allocations: 82.75 kB / 0.6311 GB, free: 10.46 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.4533, allocations: 73.67 kB / 0.6311 GB, free: 10.39 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.4535, allocations: 358.8 kB / 0.6315 GB, free: 10.03 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003187/0.4538, allocations: 124.7 kB / 0.6316 GB, free: 9.902 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00037/0.4542, allocations: 194.2 kB / 0.6318 GB, free: 9.695 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000589/0.4548, allocations: 260.5 kB / 0.632 GB, free: 9.434 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4548, allocations: 4 kB / 0.632 GB, free: 9.43 MB / 478.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001503/0.4563, allocations: 498.1 kB / 0.6325 GB, free: 8.934 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.4564, allocations: 6.188 kB / 0.6325 GB, free: 8.93 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.4564, allocations: 3.984 kB / 0.6325 GB, free: 8.926 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003669/0.4568, allocations: 52.81 kB / 0.6326 GB, free: 8.871 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003566/0.4571, allocations: 67.89 kB / 0.6326 GB, free: 8.805 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004738/0.4576, allocations: 0.5641 MB / 0.6332 GB, free: 8.215 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005717/0.4582, allocations: 55.64 kB / 0.6332 GB, free: 8.16 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.689e-05/0.4583, allocations: 24.14 kB / 0.6333 GB, free: 8.137 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004568/0.4587, allocations: 244 kB / 0.6335 GB, free: 7.895 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003291/0.4591, allocations: 173 kB / 0.6337 GB, free: 7.707 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005488/0.4596, allocations: 263.7 kB / 0.6339 GB, free: 7.445 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.362e-06/0.4596, allocations: 0 / 0.6339 GB, free: 7.445 MB / 478.1 MB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007526/0.4604, allocations: 364.8 kB / 0.6343 GB, free: 7.082 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.4604, allocations: 11.94 kB / 0.6343 GB, free: 7.07 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.564e-06/0.4604, allocations: 4 kB / 0.6343 GB, free: 7.066 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-06/0.4604, allocations: 0 / 0.6343 GB, free: 7.066 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003817/0.4608, allocations: 87.81 kB / 0.6344 GB, free: 6.98 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/0.4608, allocations: 7.938 kB / 0.6344 GB, free: 6.973 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004389/0.4613, allocations: 63.67 kB / 0.6344 GB, free: 6.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-05/0.4613, allocations: 11.98 kB / 0.6344 GB, free: 6.898 MB / 478.1 MB 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.0001584/0.4615, allocations: 198.5 kB / 0.6346 GB, free: 6.699 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.455e-05/0.4616, allocations: 47.34 kB / 0.6347 GB, free: 6.652 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009364/0.4625, allocations: 423.6 kB / 0.6351 GB, free: 6.23 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.632e-05/0.4626, allocations: 15.98 kB / 0.6351 GB, free: 6.215 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.4626, allocations: 0 / 0.6351 GB, free: 6.215 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.4626, allocations: 0 / 0.6351 GB, free: 6.215 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001432/0.464, allocations: 0.9449 MB / 0.636 GB, free: 5.199 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.464, allocations: 3.984 kB / 0.636 GB, free: 5.195 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000231/0.4643, allocations: 51.91 kB / 0.6361 GB, free: 5.145 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000173/0.4645, allocations: 48.91 kB / 0.6361 GB, free: 5.094 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/0.4645, allocations: 8 kB / 0.6361 GB, free: 5.086 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003695/0.4649, allocations: 0.5603 MB / 0.6367 GB, free: 4.5 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/0.4649, allocations: 7.922 kB / 0.6367 GB, free: 4.492 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007883/0.4657, allocations: 499.2 kB / 0.6372 GB, free: 3.973 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001928/0.4659, allocations: 156.4 kB / 0.6373 GB, free: 3.801 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.677e-05/0.466, allocations: 4 kB / 0.6373 GB, free: 3.797 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003734/0.4663, allocations: 43.86 kB / 0.6373 GB, free: 3.754 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.473e-05/0.4664, allocations: 27.91 kB / 0.6374 GB, free: 3.727 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.608e-05/0.4665, allocations: 12 kB / 0.6374 GB, free: 3.715 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003772/0.4668, allocations: 318.9 kB / 0.6377 GB, free: 3.406 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.4669, allocations: 0 / 0.6377 GB, free: 3.406 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007838/0.4676, allocations: 259.5 kB / 0.6379 GB, free: 3.152 MB / 478.1 MB 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.0006865/0.4683, allocations: 256.4 kB / 0.6382 GB, free: 2.902 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001276/0.4696, allocations: 480.6 kB / 0.6386 GB, free: 2.434 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.4696, allocations: 8 kB / 0.6386 GB, free: 2.426 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000445/0.4701, allocations: 166.2 kB / 0.6388 GB, free: 2.266 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.4713, allocations: 224.4 kB / 0.639 GB, free: 2.062 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/0.473, allocations: 1.033 MB / 0.64 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004379/0.4735, allocations: 0.8548 MB / 0.6409 GB, free: 104 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.4736, allocations: 47.42 kB / 0.6409 GB, free: 56 kB / 478.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4736, allocations: 0 / 0.6409 GB, free: 56 kB / 478.1 MB Notification: Performance of Templates: time 0.01527/0.4889, allocations: 10.24 MB / 0.6509 GB, free: 5.93 MB / 494.1 MB 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)