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.927/2.927, allocations: 287.5 MB / 302.4 MB, free: 8.32 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.001445/0.001445, allocations: 188.5 kB / 371 MB, free: 10.85 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.203/2.203, allocations: 205.4 MB / 0.6297 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.0009363/0.0009358, allocations: 85.17 kB / 0.743 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006619/0.0006622, allocations: 11.33 kB / 0.8658 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2358, allocations: 115.3 MB / 0.9783 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.02351/0.2593, allocations: 19.04 MB / 0.9969 GB, free: 9.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.008179/0.2676, allocations: 4.609 MB / 1.001 GB, free: 4.633 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008301/0.2685, allocations: 19.81 kB / 1.001 GB, free: 4.613 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009021/0.2694, allocations: 194.7 kB / 1.002 GB, free: 4.422 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002658/0.2721, allocations: 0.6468 MB / 1.002 GB, free: 3.773 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002564/0.2747, allocations: 0.6094 MB / 1.003 GB, free: 3.172 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002414/0.2771, allocations: 1.54 MB / 1.004 GB, free: 1.625 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007294/0.2779, allocations: 343.1 kB / 1.005 GB, free: 1.289 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001335/0.2792, allocations: 0.494 MB / 1.005 GB, free: 0.793 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008681/0.2801, allocations: 426.2 kB / 1.006 GB, free: 384 kB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001206/0.2802, allocations: 20 kB / 1.006 GB, free: 364 kB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001763/0.282, allocations: 0.5262 MB / 1.006 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000215/0.2823, allocations: 95.58 kB / 1.006 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002743/0.2826, allocations: 129.4 kB / 1.006 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001424/0.284, allocations: 0.565 MB / 1.007 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.284, allocations: 4 kB / 1.007 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.956e-06/0.2841, allocations: 4 kB / 1.007 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.759e-06/0.2841, allocations: 0 / 1.007 GB, free: 15.03 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.002284/0.2864, allocations: 0.837 MB / 1.008 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.2864, allocations: 8.031 kB / 1.008 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001864/0.2866, allocations: 63.25 kB / 1.008 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.2877, allocations: 434.9 kB / 1.008 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.258e-05/0.2877, allocations: 24.66 kB / 1.008 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.264e-05/0.2878, allocations: 32 kB / 1.008 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.2889, allocations: 322 kB / 1.009 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.289, allocations: 0 / 1.009 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.09e-05/0.289, allocations: 12 kB / 1.009 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/0.289, allocations: 8 kB / 1.009 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.2902, allocations: 282.4 kB / 1.009 GB, free: 12.93 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.003707/0.2939, allocations: 1.36 MB / 1.01 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008892/0.2948, allocations: 258.5 kB / 1.01 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005806/0.2954, allocations: 146.1 kB / 1.011 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006258/0.2961, allocations: 0.5025 MB / 1.011 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.557e-05/0.2961, allocations: 42.48 kB / 1.011 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=25): time 2.655e-06/0.2961, allocations: 0 / 1.011 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25): time 0.003103/0.2992, allocations: 0.5892 MB / 1.012 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.162e-05/0.2994, allocations: 55.41 kB / 1.012 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008435/0.3002, allocations: 458.1 kB / 1.012 GB, free: 9.238 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.555e-05/0.3003, allocations: 37.7 kB / 1.012 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002655/0.3006, allocations: 244.4 kB / 1.012 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.3007, allocations: 86.73 kB / 1.013 GB, free: 8.867 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.051e-05/0.3008, allocations: 8 kB / 1.013 GB, free: 8.859 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000188/0.301, allocations: 354.8 kB / 1.013 GB, free: 8.504 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000544/0.3015, allocations: 127.9 kB / 1.013 GB, free: 8.379 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006407/0.3022, allocations: 201.1 kB / 1.013 GB, free: 8.164 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001292/0.3035, allocations: 140.8 kB / 1.013 GB, free: 8.027 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/0.3035, allocations: 0 / 1.013 GB, free: 8.027 MB / 0.6355 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002509/0.3061, allocations: 427.5 kB / 1.014 GB, free: 7.602 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.557e-05/0.3062, allocations: 102.7 kB / 1.014 GB, free: 7.488 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.3062, allocations: 4 kB / 1.014 GB, free: 7.484 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005146/0.3068, allocations: 56.77 kB / 1.014 GB, free: 7.426 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007146/0.3075, allocations: 75.89 kB / 1.014 GB, free: 7.352 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006465/0.3082, allocations: 0.564 MB / 1.014 GB, free: 6.762 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009172/0.3091, allocations: 64.83 kB / 1.015 GB, free: 6.699 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.249e-05/0.3092, allocations: 19.98 kB / 1.015 GB, free: 6.68 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.3092, allocations: 0 / 1.015 GB, free: 6.68 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0013/0.3105, allocations: 325.8 kB / 1.015 GB, free: 6.363 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3105, allocations: 4 kB / 1.015 GB, free: 6.359 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.3106, allocations: 4 kB / 1.015 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007763/0.3113, allocations: 83.89 kB / 1.015 GB, free: 6.273 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.3114, allocations: 3.953 kB / 1.015 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008346/0.3122, allocations: 67.69 kB / 1.015 GB, free: 6.203 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-05/0.3123, allocations: 12 kB / 1.015 GB, free: 6.191 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.0003913/0.3127, allocations: 241 kB / 1.015 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.3128, allocations: 51.42 kB / 1.015 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001663/0.3145, allocations: 443.8 kB / 1.016 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/0.3145, allocations: 4 kB / 1.016 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.3145, allocations: 3.953 kB / 1.016 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.3146, allocations: 4 kB / 1.016 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00261/0.3172, allocations: 0.96 MB / 1.017 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.3172, allocations: 0 / 1.017 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004481/0.3177, allocations: 55.98 kB / 1.017 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002761/0.318, allocations: 56.77 kB / 1.017 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.386e-05/0.318, allocations: 8 kB / 1.017 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005252/0.3186, allocations: 0.5562 MB / 1.017 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.3186, allocations: 4.031 kB / 1.017 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001458/0.3201, allocations: 0.5068 MB / 1.018 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003184/0.3204, allocations: 160.4 kB / 1.018 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.919e-05/0.3205, allocations: 0 / 1.018 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006412/0.3212, allocations: 51.8 kB / 1.018 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.3213, allocations: 23.97 kB / 1.018 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.953e-05/0.3213, allocations: 15.94 kB / 1.018 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005635/0.3219, allocations: 314.9 kB / 1.018 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/0.3219, allocations: 4 kB / 1.018 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00116/0.3231, allocations: 255.5 kB / 1.019 GB, free: 2.336 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.0008706/0.324, allocations: 248 kB / 1.019 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002164/0.3262, allocations: 483.9 kB / 1.019 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/0.3262, allocations: 4 kB / 1.019 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007737/0.327, allocations: 179.8 kB / 1.02 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002622/0.3297, allocations: 253.1 kB / 1.02 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00247/0.3322, allocations: 0.9734 MB / 1.021 GB, free: 188 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006057/0.3328, allocations: 0.8551 MB / 1.022 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0008656/0.3337, allocations: 124.4 kB / 1.022 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001788/0.3339, allocations: 43.44 kB / 1.022 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of SimCode: time 1.383e-06/0.3339, allocations: 0 / 1.022 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of Templates: time 0.03002/0.3639, allocations: 9.58 MB / 1.031 GB, free: 5.676 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)