Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve") translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.74/1.74, allocations: 287.4 MB / 303.2 MB, free: 8.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00104/0.00104, allocations: 180.4 kB / 371.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.443/1.443, allocations: 205.4 MB / 0.6305 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009269/0.0009269, allocations: 94.78 kB / 0.7438 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006552/0.0006553, allocations: 11.66 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2618, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.01704/0.2789, allocations: 19.04 MB / 0.9979 GB, free: 9.109 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005823/0.2848, allocations: 4.624 MB / 1.002 GB, free: 4.477 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008375/0.2856, allocations: 15.88 kB / 1.002 GB, free: 4.461 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008991/0.2866, allocations: 194.6 kB / 1.003 GB, free: 4.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002083/0.2887, allocations: 0.645 MB / 1.003 GB, free: 3.621 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002174/0.2909, allocations: 0.5975 MB / 1.004 GB, free: 3.031 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001867/0.2927, allocations: 1.552 MB / 1.005 GB, free: 1.473 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000672/0.2934, allocations: 378.5 kB / 1.006 GB, free: 1.109 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001044/0.2945, allocations: 0.494 MB / 1.006 GB, free: 0.6133 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000718/0.2952, allocations: 426.2 kB / 1.007 GB, free: 200 kB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.2953, allocations: 20 kB / 1.007 GB, free: 180 kB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001266/0.2966, allocations: 0.5262 MB / 1.007 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001747/0.2968, allocations: 99.58 kB / 1.007 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002171/0.297, allocations: 129.4 kB / 1.007 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0008171/0.2978, allocations: 0.5611 MB / 1.008 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.2978, allocations: 0 / 1.008 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.587e-06/0.2979, allocations: 0 / 1.008 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.006e-05/0.2979, allocations: 7.938 kB / 1.008 GB, free: 14.85 MB / 0.6355 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.001569/0.2995, allocations: 0.8254 MB / 1.009 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.2995, allocations: 8.031 kB / 1.009 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001572/0.2997, allocations: 64.19 kB / 1.009 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007392/0.3004, allocations: 455.1 kB / 1.009 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.429e-05/0.3005, allocations: 32.66 kB / 1.009 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.618e-05/0.3005, allocations: 32 kB / 1.009 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000674/0.3012, allocations: 314 kB / 1.01 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.3012, allocations: 0 / 1.01 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.25e-05/0.3013, allocations: 20 kB / 1.01 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.3013, allocations: 4 kB / 1.01 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000667/0.302, allocations: 286.4 kB / 1.01 GB, free: 12.74 MB / 0.6355 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.002371/0.3044, allocations: 1.349 MB / 1.011 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005229/0.3049, allocations: 276.7 kB / 1.011 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003139/0.3052, allocations: 154.1 kB / 1.012 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004616/0.3057, allocations: 0.4947 MB / 1.012 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.3057, allocations: 34.59 kB / 1.012 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=25): time 2.815e-06/0.3057, allocations: 0 / 1.012 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25): time 0.001817/0.3076, allocations: 0.5969 MB / 1.013 GB, free: 9.562 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.3076, allocations: 55.41 kB / 1.013 GB, free: 9.496 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006161/0.3082, allocations: 462.1 kB / 1.013 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.755e-05/0.3083, allocations: 37.7 kB / 1.013 GB, free: 8.988 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001884/0.3085, allocations: 244.4 kB / 1.013 GB, free: 8.746 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.281e-05/0.3086, allocations: 90.73 kB / 1.014 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.765e-05/0.3086, allocations: 4 kB / 1.014 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000184/0.3088, allocations: 354.8 kB / 1.014 GB, free: 8.297 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003186/0.3091, allocations: 120.1 kB / 1.014 GB, free: 8.18 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003694/0.3095, allocations: 200.7 kB / 1.014 GB, free: 7.965 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005963/0.3101, allocations: 270.5 kB / 1.014 GB, free: 7.691 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.3101, allocations: 4 kB / 1.014 GB, free: 7.688 MB / 0.6355 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001023/0.3112, allocations: 432.4 kB / 1.015 GB, free: 7.258 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001141/0.3113, allocations: 110.7 kB / 1.015 GB, free: 7.137 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.3113, allocations: 0 / 1.015 GB, free: 7.137 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000377/0.3117, allocations: 52.81 kB / 1.015 GB, free: 7.082 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004419/0.3122, allocations: 75.89 kB / 1.015 GB, free: 7.008 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004735/0.3126, allocations: 0.5563 MB / 1.016 GB, free: 6.426 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005286/0.3132, allocations: 81.16 kB / 1.016 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.705e-05/0.3132, allocations: 12 kB / 1.016 GB, free: 6.336 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.328e-06/0.3133, allocations: 4 kB / 1.016 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007088/0.314, allocations: 315.7 kB / 1.016 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.314, allocations: 4 kB / 1.016 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.871e-06/0.314, allocations: 4 kB / 1.016 GB, free: 6.016 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003835/0.3144, allocations: 83.88 kB / 1.016 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3144, allocations: 7.938 kB / 1.016 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004731/0.3149, allocations: 63.73 kB / 1.016 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.614e-05/0.3149, allocations: 11.98 kB / 1.016 GB, free: 5.852 MB / 0.6355 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.0002741/0.3152, allocations: 249 kB / 1.016 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.866e-05/0.3153, allocations: 47.34 kB / 1.016 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009962/0.3163, allocations: 436.2 kB / 1.017 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.238e-06/0.3163, allocations: 3.984 kB / 1.017 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.3164, allocations: 4 kB / 1.017 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002143/0.3166, allocations: 160.5 kB / 1.017 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.179e-05/0.3167, allocations: 8 kB / 1.017 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004234/0.3171, allocations: 55.81 kB / 1.017 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.879e-05/0.3172, allocations: 16.22 kB / 1.017 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001046/0.3182, allocations: 485.4 kB / 1.018 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001103/0.3193, allocations: 0.7126 MB / 1.018 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003058/0.3197, allocations: 152.8 kB / 1.018 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003819/0.3201, allocations: 322.9 kB / 1.019 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of Backend: time 5.91e-07/0.3201, allocations: 0 / 1.019 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001876/0.322, allocations: 0.6082 MB / 1.019 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of SimCode: time 0.002609/0.3246, allocations: 1.555 MB / 1.021 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of Templates: time 0.0198/0.3444, allocations: 10.89 MB / 1.031 GB, free: 6.184 MB / 0.6511 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & ./Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)