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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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.001099/0.001099, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001215/0.001215, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.106/1.106, allocations: 143.3 MB / 434.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005237/0.0005238, allocations: 12 kB / 0.5158 GB, free: 11.37 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.2036, allocations: 83.41 MB / 0.5973 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.3878/0.5915, allocations: 17.39 MB / 0.6142 GB, free: 35.47 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005569/0.5971, allocations: 3.992 MB / 0.6181 GB, free: 33.61 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005421/0.5977, allocations: 24.91 kB / 0.6182 GB, free: 33.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008224/0.5985, allocations: 255.8 kB / 0.6184 GB, free: 33.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002227/0.6007, allocations: 0.802 MB / 0.6192 GB, free: 32.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002048/0.6028, allocations: 0.7663 MB / 0.6199 GB, free: 32.56 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001148/0.604, allocations: 0.8442 MB / 0.6208 GB, free: 32.13 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004389/0.6044, allocations: 355.7 kB / 0.6211 GB, free: 32.02 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006378/0.6051, allocations: 473.4 kB / 0.6216 GB, free: 31.79 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003573/0.6054, allocations: 319.2 kB / 0.6219 GB, free: 31.66 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.001e-05/0.6055, allocations: 20.91 kB / 0.6219 GB, free: 31.66 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008286/0.6063, allocations: 397 kB / 0.6223 GB, free: 31.56 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.6064, allocations: 104 kB / 0.6224 GB, free: 31.51 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.6065, allocations: 125.6 kB / 0.6225 GB, free: 31.43 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005453/0.6071, allocations: 0.543 MB / 0.623 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.6071, allocations: 0 / 0.623 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.545e-06/0.6071, allocations: 0 / 0.623 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.6071, allocations: 0 / 0.623 GB, free: 31.29 MB / 0.4981 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.001319/0.6085, allocations: 0.818 MB / 0.6238 GB, free: 30.68 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.6085, allocations: 13.47 kB / 0.6238 GB, free: 30.67 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.6086, allocations: 68.62 kB / 0.6239 GB, free: 30.64 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005589/0.6092, allocations: 428.4 kB / 0.6243 GB, free: 30.32 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.6092, allocations: 27.12 kB / 0.6243 GB, free: 30.31 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.863e-05/0.6093, allocations: 35.19 kB / 0.6244 GB, free: 30.3 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005552/0.6098, allocations: 318.2 kB / 0.6247 GB, free: 30.18 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.6099, allocations: 0 / 0.6247 GB, free: 30.18 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.484e-05/0.6099, allocations: 14.91 kB / 0.6247 GB, free: 30.16 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.6099, allocations: 9.797 kB / 0.6247 GB, free: 30.16 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005463/0.6105, allocations: 281.2 kB / 0.625 GB, free: 30.09 MB / 0.4981 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.001805/0.6123, allocations: 1.358 MB / 0.6263 GB, free: 29.17 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005762/0.6129, allocations: 283.7 kB / 0.6266 GB, free: 29.07 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000337/0.6132, allocations: 0.4999 MB / 0.627 GB, free: 28.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.6132, allocations: 34.56 kB / 0.6271 GB, free: 28.45 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=25): time 1.663e-06/0.6132, allocations: 2.562 kB / 0.6271 GB, free: 28.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=25): time 0.001547/0.6148, allocations: 0.5894 MB / 0.6276 GB, free: 28.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.6148, allocations: 58.19 kB / 0.6277 GB, free: 28.13 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004091/0.6153, allocations: 456.4 kB / 0.6281 GB, free: 27.91 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.185e-05/0.6153, allocations: 36.58 kB / 0.6282 GB, free: 27.87 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.6154, allocations: 247.5 kB / 0.6284 GB, free: 27.67 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.379e-05/0.6155, allocations: 84.02 kB / 0.6285 GB, free: 27.6 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.568e-05/0.6155, allocations: 4 kB / 0.6285 GB, free: 27.6 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.586e-05/0.6156, allocations: 358.5 kB / 0.6288 GB, free: 27.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000259/0.6159, allocations: 129.2 kB / 0.629 GB, free: 27.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003042/0.6162, allocations: 184.7 kB / 0.6291 GB, free: 27.14 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002943/0.6165, allocations: 141.5 kB / 0.6293 GB, free: 27.1 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.6165, allocations: 6.594 kB / 0.6293 GB, free: 27.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008642/0.6174, allocations: 423.8 kB / 0.6297 GB, free: 26.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.403e-05/0.6175, allocations: 271.9 kB / 0.6299 GB, free: 26.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.6175, allocations: 4 kB / 0.6299 GB, free: 26.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003224/0.6178, allocations: 55.67 kB / 0.63 GB, free: 26.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000324/0.6182, allocations: 73.12 kB / 0.6301 GB, free: 26.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003327/0.6185, allocations: 0.5714 MB / 0.6306 GB, free: 26.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004907/0.619, allocations: 67.33 kB / 0.6307 GB, free: 26.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-05/0.6191, allocations: 20.19 kB / 0.6307 GB, free: 26.05 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.095e-06/0.6191, allocations: 5.125 kB / 0.6307 GB, free: 26.05 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006491/0.6197, allocations: 322.7 kB / 0.631 GB, free: 25.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.335e-06/0.6197, allocations: 0 / 0.631 GB, free: 25.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.178e-06/0.6197, allocations: 2.562 kB / 0.631 GB, free: 25.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003522/0.6201, allocations: 84.44 kB / 0.6311 GB, free: 25.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.6201, allocations: 2.969 kB / 0.6311 GB, free: 25.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004171/0.6205, allocations: 62.64 kB / 0.6312 GB, free: 25.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.89e-05/0.6206, allocations: 16.16 kB / 0.6312 GB, free: 25.92 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002251/0.6208, allocations: 250.4 kB / 0.6314 GB, free: 25.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.823e-05/0.6209, allocations: 50.06 kB / 0.6315 GB, free: 25.67 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008659/0.6217, allocations: 436.2 kB / 0.6319 GB, free: 25.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/0.6218, allocations: 10.3 kB / 0.6319 GB, free: 25.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.6218, allocations: 0 / 0.6319 GB, free: 25.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.6218, allocations: 0 / 0.6319 GB, free: 25.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001312/0.6231, allocations: 0.9747 MB / 0.6328 GB, free: 24.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.6231, allocations: 0 / 0.6328 GB, free: 24.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/0.6233, allocations: 62.91 kB / 0.6329 GB, free: 24.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001499/0.6235, allocations: 39.06 kB / 0.6329 GB, free: 24.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/0.6235, allocations: 11.81 kB / 0.633 GB, free: 24.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002372/0.6238, allocations: 0.5618 MB / 0.6335 GB, free: 24.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.6238, allocations: 3.359 kB / 0.6335 GB, free: 24.35 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006972/0.6245, allocations: 0.5538 MB / 0.634 GB, free: 23.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001724/0.6247, allocations: 161.5 kB / 0.6342 GB, free: 23.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.744e-05/0.6247, allocations: 7.031 kB / 0.6342 GB, free: 23.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000346/0.6251, allocations: 45.14 kB / 0.6343 GB, free: 23.83 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.918e-05/0.6252, allocations: 21.67 kB / 0.6343 GB, free: 23.83 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.6252, allocations: 12.34 kB / 0.6343 GB, free: 23.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002832/0.6255, allocations: 313.9 kB / 0.6346 GB, free: 23.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6255, allocations: 2.969 kB / 0.6346 GB, free: 23.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007364/0.6262, allocations: 251.8 kB / 0.6348 GB, free: 23.62 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005001/0.6267, allocations: 256.8 kB / 0.6351 GB, free: 23.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001098/0.6279, allocations: 492 kB / 0.6355 GB, free: 23.36 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.6279, allocations: 3.938 kB / 0.6355 GB, free: 23.36 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003637/0.6282, allocations: 175.1 kB / 0.6357 GB, free: 23.31 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001254/0.6295, allocations: 259.1 kB / 0.636 GB, free: 23.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.6308, allocations: 0.977 MB / 0.6369 GB, free: 22.65 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.6311, allocations: 0.8665 MB / 0.6378 GB, free: 21.94 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004055/0.6315, allocations: 121 kB / 0.6379 GB, free: 21.91 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.013e-05/0.6316, allocations: 42.27 kB / 0.6379 GB, free: 21.9 MB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/0.6316, allocations: 0 / 0.6379 GB, free: 21.9 MB / 0.4981 GB Notification: Performance of Templates: time 0.01931/0.6509, allocations: 9.705 MB / 0.6474 GB, free: 21.02 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: