Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.CheckValve") translateModel(BuildingSystems.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001726/0.001726, allocations: 109.1 kB / 16.41 MB, free: 6.504 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.001962/0.001962, allocations: 190.7 kB / 17.35 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.34/1.34, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002171/0.002171, allocations: 294.5 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9622/0.9622, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 95.86 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5142/0.5162, allocations: 86.97 MB / 0.767 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.CheckValve): time 0.0239/0.5401, allocations: 20.74 MB / 0.7873 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007443/0.5476, allocations: 4.942 MB / 0.7921 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008199/0.5485, allocations: 19.88 kB / 0.7921 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008593/0.5494, allocations: 270 kB / 0.7924 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002271/0.5517, allocations: 0.8219 MB / 0.7932 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002058/0.5538, allocations: 0.7144 MB / 0.7939 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001858/0.5556, allocations: 1.384 MB / 0.7952 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006125/0.5562, allocations: 448.1 kB / 0.7957 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009583/0.5572, allocations: 0.572 MB / 0.7962 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006139/0.5578, allocations: 450.1 kB / 0.7967 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.608e-05/0.5579, allocations: 36 kB / 0.7967 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001233/0.5592, allocations: 0.6355 MB / 0.7973 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.5593, allocations: 131.4 kB / 0.7974 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002516/0.5596, allocations: 290.4 kB / 0.7977 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001096/0.5607, allocations: 0.8515 MB / 0.7986 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.5607, allocations: 0 / 0.7986 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5607, allocations: 0 / 0.7986 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.777e-06/0.5607, allocations: 0 / 0.7986 GB, free: 3.543 MB / 0.5606 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.001494/0.5622, allocations: 0.9303 MB / 0.7995 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.5623, allocations: 8.031 kB / 0.7995 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.5624, allocations: 64.19 kB / 0.7995 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007312/0.5631, allocations: 479.3 kB / 0.8 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.374e-05/0.5632, allocations: 28.66 kB / 0.8 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.854e-05/0.5632, allocations: 36 kB / 0.8 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006404/0.5639, allocations: 306 kB / 0.8003 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.5639, allocations: 0 / 0.8003 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.264e-05/0.5639, allocations: 12 kB / 0.8004 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.564, allocations: 4 kB / 0.8004 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006052/0.5646, allocations: 266.4 kB / 0.8006 GB, free: 1.34 MB / 0.5606 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.002115/0.5667, allocations: 1.333 MB / 0.8019 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000507/0.5672, allocations: 258.4 kB / 0.8022 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002948/0.5675, allocations: 132.8 kB / 0.8023 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004213/0.568, allocations: 0.4947 MB / 0.8028 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.568, allocations: 42.56 kB / 0.8028 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=25): time 1.553e-06/0.568, allocations: 224 / 0.8028 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=25): time 0.001787/0.5698, allocations: 0.568 MB / 0.8034 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.5698, allocations: 59.34 kB / 0.8034 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000469/0.5703, allocations: 466.1 kB / 0.8039 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.702e-05/0.5704, allocations: 29.7 kB / 0.8039 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/0.5706, allocations: 248.5 kB / 0.8041 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.095e-05/0.5706, allocations: 90.69 kB / 0.8042 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.5708, allocations: 77.59 kB / 0.8043 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.5709, allocations: 354.8 kB / 0.8046 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003091/0.5712, allocations: 128.5 kB / 0.8048 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003657/0.5716, allocations: 182 kB / 0.8049 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005975/0.5722, allocations: 272.2 kB / 0.8052 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.5722, allocations: 4 kB / 0.8052 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001532/0.5738, allocations: 495.4 kB / 0.8057 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.5738, allocations: 4 kB / 0.8057 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.5738, allocations: 4 kB / 0.8057 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003559/0.5742, allocations: 52.75 kB / 0.8057 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003527/0.5745, allocations: 71.88 kB / 0.8058 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004366/0.575, allocations: 0.5641 MB / 0.8063 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004317/0.5754, allocations: 55.67 kB / 0.8064 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.769e-05/0.5755, allocations: 8 kB / 0.8064 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004223/0.5759, allocations: 244 kB / 0.8066 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00033/0.5763, allocations: 173.1 kB / 0.8068 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005691/0.5768, allocations: 273.2 kB / 0.8071 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.313e-06/0.5768, allocations: 0 / 0.8071 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007559/0.5776, allocations: 368.7 kB / 0.8074 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.958e-06/0.5776, allocations: 8 kB / 0.8074 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.904e-06/0.5776, allocations: 0 / 0.8074 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.635e-06/0.5776, allocations: 0 / 0.8074 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003715/0.578, allocations: 79.88 kB / 0.8075 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.578, allocations: 7.938 kB / 0.8075 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004049/0.5784, allocations: 51.73 kB / 0.8075 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.039e-05/0.5785, allocations: 16 kB / 0.8076 GB, free: 9.789 MB / 0.5762 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.0001443/0.5786, allocations: 196.2 kB / 0.8078 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.556e-05/0.5787, allocations: 47.44 kB / 0.8078 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009821/0.5797, allocations: 432.8 kB / 0.8082 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.5797, allocations: 0 / 0.8082 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.5797, allocations: 0 / 0.8082 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001858/0.5799, allocations: 152.4 kB / 0.8084 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.353e-05/0.58, allocations: 4 kB / 0.8084 GB, free: 8.938 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003125/0.5803, allocations: 23.97 kB / 0.8084 GB, free: 8.914 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.893e-05/0.5804, allocations: 20.2 kB / 0.8084 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001053/0.5815, allocations: 454.2 kB / 0.8088 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001113/0.5826, allocations: 0.6853 MB / 0.8095 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003199/0.5829, allocations: 132 kB / 0.8096 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003828/0.5833, allocations: 322.9 kB / 0.8099 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of Backend: time 5.31e-07/0.5833, allocations: 0 / 0.8099 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001898/0.5852, allocations: 0.6213 MB / 0.8105 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of SimCode: time 0.001963/0.5872, allocations: 1.372 MB / 0.8119 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of Templates: time 0.01998/0.6072, allocations: 11.57 MB / 0.8232 GB, free: 9.852 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.CheckValve.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)