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.673/1.673, allocations: 287.5 MB / 302.6 MB, free: 8.301 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.001118/0.001118, allocations: 182.1 kB / 371.2 MB, free: 10.82 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.657/1.657, allocations: 205.4 MB / 0.6298 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.0008755/0.0008755, allocations: 98.06 kB / 0.7432 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004341/0.0004341, allocations: 11.97 kB / 0.8661 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2507, allocations: 115.3 MB / 0.9787 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.01449/0.2653, allocations: 19.04 MB / 0.9973 GB, free: 9.117 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005424/0.2708, allocations: 4.627 MB / 1.002 GB, free: 4.48 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005918/0.2714, allocations: 19.88 kB / 1.002 GB, free: 4.461 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006884/0.2721, allocations: 186.7 kB / 1.002 GB, free: 4.277 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001644/0.2738, allocations: 0.6507 MB / 1.003 GB, free: 3.625 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001588/0.2754, allocations: 0.5989 MB / 1.003 GB, free: 3.035 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001405/0.2768, allocations: 1.563 MB / 1.005 GB, free: 1.465 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004995/0.2773, allocations: 368.2 kB / 1.005 GB, free: 1.109 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008422/0.2781, allocations: 0.494 MB / 1.006 GB, free: 0.6133 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004515/0.2786, allocations: 422.2 kB / 1.006 GB, free: 204 kB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.939e-05/0.2787, allocations: 20 kB / 1.006 GB, free: 184 kB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001129/0.2798, allocations: 0.5262 MB / 1.006 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.2799, allocations: 103.5 kB / 1.007 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.2801, allocations: 129.4 kB / 1.007 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0007193/0.2808, allocations: 0.5572 MB / 1.007 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.2808, allocations: 0 / 1.007 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.834e-06/0.2808, allocations: 4 kB / 1.007 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.2808, allocations: 0 / 1.007 GB, free: 14.86 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.001524/0.2824, allocations: 0.8294 MB / 1.008 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.2824, allocations: 12.03 kB / 1.008 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.2825, allocations: 60.19 kB / 1.008 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000651/0.2832, allocations: 455.2 kB / 1.009 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.141e-05/0.2832, allocations: 28.66 kB / 1.009 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.765e-05/0.2833, allocations: 36 kB / 1.009 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006619/0.284, allocations: 317.9 kB / 1.009 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.284, allocations: 4 kB / 1.009 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.178e-05/0.284, allocations: 16 kB / 1.009 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.567e-06/0.2841, allocations: 8 kB / 1.009 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006505/0.2847, allocations: 278.4 kB / 1.009 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.002266/0.287, allocations: 1.352 MB / 1.011 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005177/0.2875, allocations: 262.5 kB / 1.011 GB, free: 11 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003278/0.2879, allocations: 150.1 kB / 1.011 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004603/0.2883, allocations: 0.4986 MB / 1.011 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.2884, allocations: 30.56 kB / 1.011 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=25): time 2.454e-06/0.2884, allocations: 0 / 1.011 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25): time 0.001773/0.2902, allocations: 0.6047 MB / 1.012 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.509e-05/0.2902, allocations: 55.41 kB / 1.012 GB, free: 9.504 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005086/0.2907, allocations: 454.1 kB / 1.013 GB, free: 9.047 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.864e-05/0.2908, allocations: 37.7 kB / 1.013 GB, free: 9.004 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/0.291, allocations: 252.3 kB / 1.013 GB, free: 8.754 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.872e-05/0.2911, allocations: 86.73 kB / 1.013 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.612e-05/0.2911, allocations: 8 kB / 1.013 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.2912, allocations: 354.8 kB / 1.013 GB, free: 8.305 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003025/0.2916, allocations: 127.9 kB / 1.013 GB, free: 8.18 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003596/0.2919, allocations: 189 kB / 1.014 GB, free: 7.977 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006099/0.2926, allocations: 291.2 kB / 1.014 GB, free: 7.684 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.2926, allocations: 4 kB / 1.014 GB, free: 7.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00103/0.2936, allocations: 424.6 kB / 1.014 GB, free: 7.258 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.977e-05/0.2937, allocations: 106.7 kB / 1.014 GB, free: 7.141 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.2937, allocations: 0 / 1.014 GB, free: 7.141 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003501/0.2941, allocations: 56.81 kB / 1.014 GB, free: 7.082 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000379/0.2945, allocations: 71.89 kB / 1.014 GB, free: 7.012 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004989/0.295, allocations: 0.564 MB / 1.015 GB, free: 6.422 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005161/0.2955, allocations: 71.58 kB / 1.015 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.784e-05/0.2956, allocations: 19.98 kB / 1.015 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.127e-06/0.2956, allocations: 9.344 kB / 1.015 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00072/0.2963, allocations: 311.7 kB / 1.015 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.2963, allocations: 7.984 kB / 1.015 GB, free: 6.012 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.805e-06/0.2963, allocations: 0 / 1.015 GB, free: 6.012 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003785/0.2967, allocations: 79.89 kB / 1.015 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.2967, allocations: 4.078 kB / 1.015 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004324/0.2972, allocations: 67.77 kB / 1.016 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-05/0.2972, allocations: 8 kB / 1.016 GB, free: 5.855 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.0003199/0.2975, allocations: 252.9 kB / 1.016 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.364e-05/0.2976, allocations: 47.34 kB / 1.016 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.2987, allocations: 448.1 kB / 1.016 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.2987, allocations: 0 / 1.016 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.2987, allocations: 0 / 1.016 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.2987, allocations: 8 kB / 1.016 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001577/0.3003, allocations: 0.9702 MB / 1.017 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.318e-05/0.3003, allocations: 7.984 kB / 1.017 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002283/0.3006, allocations: 51.91 kB / 1.017 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001748/0.3007, allocations: 44.89 kB / 1.017 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.611e-05/0.3008, allocations: 11.94 kB / 1.017 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003903/0.3012, allocations: 0.5524 MB / 1.018 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.3012, allocations: 3.984 kB / 1.018 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008331/0.302, allocations: 0.5107 MB / 1.018 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000211/0.3022, allocations: 160.3 kB / 1.019 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.243e-05/0.3023, allocations: 8 kB / 1.019 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000356/0.3027, allocations: 43.95 kB / 1.019 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.498e-05/0.3028, allocations: 19.97 kB / 1.019 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-05/0.3028, allocations: 8 kB / 1.019 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003958/0.3032, allocations: 322.9 kB / 1.019 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.2e-07/0.3032, allocations: 4 kB / 1.019 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008078/0.304, allocations: 251.5 kB / 1.019 GB, free: 1.996 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.0005485/0.3046, allocations: 248.6 kB / 1.019 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001246/0.3058, allocations: 490.9 kB / 1.02 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3059, allocations: 0 / 1.02 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004129/0.3063, allocations: 183.8 kB / 1.02 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/0.3078, allocations: 251.1 kB / 1.02 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.3094, allocations: 0.9662 MB / 1.021 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004605/0.3099, allocations: 0.8591 MB / 1.022 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005176/0.3104, allocations: 124.8 kB / 1.022 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.939e-05/0.3106, allocations: 39.42 kB / 1.022 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of SimCode: time 5.01e-07/0.3106, allocations: 0 / 1.022 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of Templates: time 0.0187/0.3293, allocations: 9.607 MB / 1.032 GB, free: 5.309 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)