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 2.842/2.842, allocations: 287.3 MB / 302.3 MB, free: 8.293 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.001617/0.001617, allocations: 183 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.197/2.197, allocations: 205.4 MB / 0.6295 GB, free: 10.57 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.001193/0.001192, allocations: 97.59 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004796/0.0004802, allocations: 10.66 kB / 0.8656 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.225, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.02247/0.2475, allocations: 17.42 MB / 0.9952 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.008098/0.2557, allocations: 3.963 MB / 0.9991 GB, free: 6.934 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009902/0.2567, allocations: 15.88 kB / 0.9991 GB, free: 6.918 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001619/0.2584, allocations: 262.6 kB / 0.9993 GB, free: 6.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.004678/0.2631, allocations: 0.7868 MB / 1 GB, free: 5.871 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004745/0.2678, allocations: 0.7706 MB / 1.001 GB, free: 5.117 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002783/0.2706, allocations: 0.8398 MB / 1.002 GB, free: 4.273 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001066/0.2718, allocations: 347.2 kB / 1.002 GB, free: 3.934 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001742/0.2735, allocations: 470.4 kB / 1.002 GB, free: 3.473 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001009/0.2746, allocations: 322.7 kB / 1.003 GB, free: 3.156 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001391/0.2748, allocations: 23.94 kB / 1.003 GB, free: 3.133 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001895/0.2767, allocations: 399.5 kB / 1.003 GB, free: 2.742 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002457/0.277, allocations: 99.56 kB / 1.003 GB, free: 2.645 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003068/0.2773, allocations: 129.4 kB / 1.003 GB, free: 2.512 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00138/0.2787, allocations: 0.5066 MB / 1.004 GB, free: 2.004 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2787, allocations: 0 / 1.004 GB, free: 2.004 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.136e-06/0.2787, allocations: 0 / 1.004 GB, free: 2.004 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.989e-06/0.2788, allocations: 0 / 1.004 GB, free: 2.004 MB / 0.6198 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.002734/0.2815, allocations: 0.8253 MB / 1.005 GB, free: 1.129 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/0.2816, allocations: 8.031 kB / 1.005 GB, free: 1.121 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002208/0.2818, allocations: 67.19 kB / 1.005 GB, free: 1.055 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.283, allocations: 434.9 kB / 1.005 GB, free: 0.5898 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.636e-05/0.2831, allocations: 28.66 kB / 1.005 GB, free: 0.5625 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.2832, allocations: 32 kB / 1.005 GB, free: 0.5312 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.2844, allocations: 318 kB / 1.006 GB, free: 216 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.2845, allocations: 0 / 1.006 GB, free: 216 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.075e-05/0.2846, allocations: 12 kB / 1.006 GB, free: 204 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.2846, allocations: 8 kB / 1.006 GB, free: 196 kB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001404/0.286, allocations: 278.4 kB / 1.006 GB, free: 15.92 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.004456/0.2905, allocations: 1.36 MB / 1.007 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/0.2919, allocations: 286.4 kB / 1.007 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006785/0.2926, allocations: 0.4986 MB / 1.008 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/0.2927, allocations: 34.56 kB / 1.008 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=25): time 2.735e-06/0.2927, allocations: 0 / 1.008 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25): time 0.003766/0.2964, allocations: 0.5987 MB / 1.009 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/0.2966, allocations: 51.41 kB / 1.009 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.2976, allocations: 458.1 kB / 1.009 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.752e-05/0.2977, allocations: 37.7 kB / 1.009 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003303/0.298, allocations: 240.4 kB / 1.009 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.2982, allocations: 86.75 kB / 1.009 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.2982, allocations: 4 kB / 1.009 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002108/0.2984, allocations: 362.8 kB / 1.01 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006735/0.2991, allocations: 123.9 kB / 1.01 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008077/0.3, allocations: 189 kB / 1.01 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008117/0.3008, allocations: 144.8 kB / 1.01 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.3008, allocations: 0 / 1.01 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00261/0.3034, allocations: 426 kB / 1.011 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002204/0.3037, allocations: 275 kB / 1.011 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.3037, allocations: 4 kB / 1.011 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007341/0.3045, allocations: 56.8 kB / 1.011 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.3055, allocations: 75.88 kB / 1.011 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009419/0.3065, allocations: 0.5679 MB / 1.011 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/0.3079, allocations: 63.75 kB / 1.012 GB, free: 9.648 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.308, allocations: 23.97 kB / 1.012 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.3081, allocations: 7.953 kB / 1.012 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001941/0.31, allocations: 319.6 kB / 1.012 GB, free: 9.305 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.3101, allocations: 0 / 1.012 GB, free: 9.305 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.3101, allocations: 3.938 kB / 1.012 GB, free: 9.301 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/0.3112, allocations: 83.88 kB / 1.012 GB, free: 9.219 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.3113, allocations: 8 kB / 1.012 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/0.3125, allocations: 61.2 kB / 1.012 GB, free: 9.152 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.322e-05/0.3127, allocations: 12 kB / 1.012 GB, free: 9.141 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.0005296/0.3132, allocations: 249 kB / 1.012 GB, free: 8.887 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001859/0.3134, allocations: 47.39 kB / 1.012 GB, free: 8.84 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002484/0.3159, allocations: 444.1 kB / 1.013 GB, free: 8.395 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.546e-05/0.316, allocations: 7.938 kB / 1.013 GB, free: 8.387 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.316, allocations: 3.938 kB / 1.013 GB, free: 8.383 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/0.316, allocations: 7.984 kB / 1.013 GB, free: 8.375 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003807/0.3198, allocations: 0.9601 MB / 1.014 GB, free: 7.344 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.424e-05/0.3199, allocations: 4 kB / 1.014 GB, free: 7.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000569/0.3205, allocations: 47.97 kB / 1.014 GB, free: 7.293 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003683/0.3209, allocations: 40.77 kB / 1.014 GB, free: 7.25 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.243e-05/0.321, allocations: 15.98 kB / 1.014 GB, free: 7.234 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007515/0.3217, allocations: 0.5641 MB / 1.014 GB, free: 6.645 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.136e-06/0.3217, allocations: 3.953 kB / 1.014 GB, free: 6.641 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00225/0.324, allocations: 0.5526 MB / 1.015 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004527/0.3245, allocations: 156.4 kB / 1.015 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/0.3247, allocations: 8 kB / 1.015 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009839/0.3257, allocations: 47.86 kB / 1.015 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/0.3258, allocations: 19.97 kB / 1.015 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-05/0.3259, allocations: 8 kB / 1.015 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0008624/0.3268, allocations: 322.9 kB / 1.015 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.11e-07/0.3268, allocations: 0 / 1.015 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001703/0.3285, allocations: 247.5 kB / 1.016 GB, free: 5.223 MB / 0.6355 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.001011/0.3296, allocations: 267.7 kB / 1.016 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003027/0.3326, allocations: 480 kB / 1.016 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/0.3327, allocations: 0 / 1.016 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001094/0.3338, allocations: 180 kB / 1.017 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003595/0.3374, allocations: 256.4 kB / 1.017 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003524/0.3409, allocations: 0.9666 MB / 1.018 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008071/0.3418, allocations: 0.8708 MB / 1.019 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001301/0.3431, allocations: 120.2 kB / 1.019 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002696/0.3434, allocations: 39.44 kB / 1.019 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of SimCode: time 1.683e-06/0.3435, allocations: 0 / 1.019 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of Templates: time 0.04077/0.3842, allocations: 9.575 MB / 1.028 GB, free: 8.555 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)