Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve") translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.755/1.755, allocations: 255.9 MB / 271.2 MB, free: 8.883 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 186.2 kB / 330.8 MB, free: 444 kB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.778/1.778, allocations: 225.7 MB / 0.6016 GB, free: 1.488 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008403/0.0008404, allocations: 103.7 kB / 0.709 GB, free: 6.949 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004253/0.0004255, allocations: 8 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2261, allocations: 109.2 MB / 0.9328 GB, free: 6.238 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.02001/0.2461, allocations: 20.43 MB / 0.9527 GB, free: 1.453 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00847/0.2547, allocations: 7.004 MB / 0.9595 GB, free: 9.887 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006847/0.2554, allocations: 11.88 kB / 0.9596 GB, free: 9.875 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0008261/0.2563, allocations: 214.7 kB / 0.9598 GB, free: 9.664 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002118/0.2584, allocations: 0.7503 MB / 0.9605 GB, free: 8.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001905/0.2603, allocations: 0.6395 MB / 0.9611 GB, free: 8.27 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002156/0.2625, allocations: 1.809 MB / 0.9629 GB, free: 6.449 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005515/0.263, allocations: 364 kB / 0.9632 GB, free: 6.094 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009547/0.264, allocations: 0.5368 MB / 0.9638 GB, free: 5.555 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005974/0.2646, allocations: 446 kB / 0.9642 GB, free: 5.117 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.032e-05/0.2647, allocations: 20 kB / 0.9642 GB, free: 5.098 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001233/0.2659, allocations: 0.5769 MB / 0.9648 GB, free: 4.52 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001558/0.2661, allocations: 99.58 kB / 0.9649 GB, free: 4.422 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002826/0.2664, allocations: 292.2 kB / 0.9651 GB, free: 4.129 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.2674, allocations: 0.8139 MB / 0.9659 GB, free: 3.312 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.003e-05/0.2675, allocations: 0 / 0.9659 GB, free: 3.312 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.847e-06/0.2675, allocations: 0 / 0.9659 GB, free: 3.312 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.2675, allocations: 0 / 0.9659 GB, free: 3.312 MB / 0.6042 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.001544/0.269, allocations: 0.8333 MB / 0.9667 GB, free: 2.43 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.2691, allocations: 11.98 kB / 0.9668 GB, free: 2.418 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/0.2692, allocations: 64.19 kB / 0.9668 GB, free: 2.355 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006081/0.2698, allocations: 455.2 kB / 0.9672 GB, free: 1.871 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.221e-05/0.2699, allocations: 28.66 kB / 0.9673 GB, free: 1.84 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.151e-05/0.2699, allocations: 39.94 kB / 0.9673 GB, free: 1.801 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006656/0.2706, allocations: 321.9 kB / 0.9676 GB, free: 1.48 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.2706, allocations: 0 / 0.9676 GB, free: 1.48 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.327e-05/0.2707, allocations: 12 kB / 0.9676 GB, free: 1.469 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.2707, allocations: 7.984 kB / 0.9676 GB, free: 1.461 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006184/0.2713, allocations: 282.4 kB / 0.9679 GB, free: 1.188 MB / 0.6042 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.002125/0.2734, allocations: 1.349 MB / 0.9692 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005015/0.274, allocations: 266.5 kB / 0.9695 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003286/0.2743, allocations: 144.8 kB / 0.9696 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004609/0.2748, allocations: 0.4986 MB / 0.9701 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.2748, allocations: 38.56 kB / 0.9701 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=25): time 1.352e-06/0.2748, allocations: 0 / 0.9701 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25): time 0.001705/0.2765, allocations: 0.5941 MB / 0.9707 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.2766, allocations: 55.34 kB / 0.9708 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004867/0.2771, allocations: 458.2 kB / 0.9712 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.795e-05/0.2771, allocations: 37.7 kB / 0.9712 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/0.2773, allocations: 244.4 kB / 0.9715 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.203e-05/0.2774, allocations: 82.75 kB / 0.9716 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.618e-05/0.2774, allocations: 4 kB / 0.9716 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.2775, allocations: 358.8 kB / 0.9719 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002945/0.2778, allocations: 127.9 kB / 0.972 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003679/0.2782, allocations: 192.8 kB / 0.9722 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006148/0.2788, allocations: 297.3 kB / 0.9725 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.2789, allocations: 0 / 0.9725 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009938/0.2799, allocations: 449.5 kB / 0.9729 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.802e-05/0.2799, allocations: 106.6 kB / 0.973 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.2799, allocations: 0 / 0.973 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003553/0.2803, allocations: 60.88 kB / 0.9731 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003759/0.2807, allocations: 75.89 kB / 0.9732 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004453/0.2812, allocations: 0.5679 MB / 0.9737 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004834/0.2816, allocations: 67.7 kB / 0.9738 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.519e-05/0.2817, allocations: 19.98 kB / 0.9738 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.082e-06/0.2817, allocations: 3.938 kB / 0.9738 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007111/0.2824, allocations: 321.7 kB / 0.9741 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.324e-06/0.2825, allocations: 0 / 0.9741 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.29e-06/0.2825, allocations: 4 kB / 0.9741 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00038/0.2829, allocations: 83.89 kB / 0.9742 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.836e-06/0.2829, allocations: 0 / 0.9742 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004067/0.2833, allocations: 67.69 kB / 0.9743 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/0.2833, allocations: 16 kB / 0.9743 GB, free: 10.28 MB / 0.6198 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.0002621/0.2836, allocations: 250.2 kB / 0.9745 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.408e-05/0.2837, allocations: 55.33 kB / 0.9746 GB, free: 9.969 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009322/0.2846, allocations: 434.3 kB / 0.975 GB, free: 9.535 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.2846, allocations: 7.938 kB / 0.975 GB, free: 9.527 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2846, allocations: 0 / 0.975 GB, free: 9.527 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2847, allocations: 0 / 0.975 GB, free: 9.527 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001501/0.2862, allocations: 0.965 MB / 0.9759 GB, free: 8.492 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.2862, allocations: 0 / 0.9759 GB, free: 8.492 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002391/0.2864, allocations: 56.03 kB / 0.976 GB, free: 8.438 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001658/0.2866, allocations: 48.81 kB / 0.976 GB, free: 8.387 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/0.2866, allocations: 11.94 kB / 0.976 GB, free: 8.375 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003386/0.287, allocations: 0.5564 MB / 0.9766 GB, free: 7.793 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.287, allocations: 8.094 kB / 0.9766 GB, free: 7.785 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000793/0.2878, allocations: 0.5112 MB / 0.9771 GB, free: 7.242 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001681/0.288, allocations: 160.3 kB / 0.9772 GB, free: 7.066 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.538e-05/0.288, allocations: 8 kB / 0.9772 GB, free: 7.059 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003432/0.2884, allocations: 39.95 kB / 0.9773 GB, free: 7.02 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.805e-05/0.2885, allocations: 27.97 kB / 0.9773 GB, free: 6.992 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-05/0.2885, allocations: 12 kB / 0.9773 GB, free: 6.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003406/0.2889, allocations: 314.9 kB / 0.9776 GB, free: 6.676 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.655e-06/0.2889, allocations: 0 / 0.9776 GB, free: 6.676 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007375/0.2896, allocations: 255.5 kB / 0.9779 GB, free: 6.426 MB / 0.6198 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 (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 Backend phase and start with SimCode phase: time 0.0005671/0.2902, allocations: 256.2 kB / 0.9781 GB, free: 6.176 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001185/0.2914, allocations: 497.6 kB / 0.9786 GB, free: 5.691 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.2914, allocations: 0 / 0.9786 GB, free: 5.691 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003924/0.2918, allocations: 180.6 kB / 0.9788 GB, free: 5.516 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/0.2932, allocations: 263.9 kB / 0.979 GB, free: 5.262 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/0.2947, allocations: 1.018 MB / 0.98 GB, free: 4.203 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003995/0.2951, allocations: 0.863 MB / 0.9808 GB, free: 3.309 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004255/0.2955, allocations: 112.2 kB / 0.981 GB, free: 3.199 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.2956, allocations: 39.42 kB / 0.981 GB, free: 3.16 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.2957, allocations: 0 / 0.981 GB, free: 3.16 MB / 0.6198 GB Notification: Performance of Templates: time 0.01707/0.3127, allocations: 9.876 MB / 0.9906 GB, free: 9.426 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)