Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.743/1.743, allocations: 291.7 MB / 306.8 MB, free: 7.715 MB / 234.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.001532/0.001533, allocations: 182.3 kB / 375.4 MB, free: 5.133 MB / 298.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.468/1.468, allocations: 225.7 MB / 0.6538 GB, free: 13.66 MB / 490.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.000829/0.0008292, allocations: 99.53 kB / 0.7699 GB, free: 50.3 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0008197/0.0008199, allocations: 8.844 kB / 0.8956 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.717/0.7178, allocations: 118.1 MB / 1.011 GB, free: 57.35 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.003775/0.7216, allocations: 2.667 MB / 1.013 GB, free: 57.22 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001923/0.7236, allocations: 1.221 MB / 1.015 GB, free: 57.12 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001331/0.7238, allocations: 5.656 kB / 1.015 GB, free: 57.12 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001879/0.7239, allocations: 43.45 kB / 1.015 GB, free: 57.1 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003727/0.7243, allocations: 119.4 kB / 1.015 GB, free: 57.07 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002893/0.7246, allocations: 97.08 kB / 1.015 GB, free: 57.06 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003382/0.725, allocations: 349.5 kB / 1.015 GB, free: 57.01 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003477/0.7253, allocations: 231.3 kB / 1.015 GB, free: 56.91 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.7255, allocations: 98.47 kB / 1.016 GB, free: 56.89 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002799/0.7258, allocations: 133.1 kB / 1.016 GB, free: 56.86 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.132e-05/0.7258, allocations: 8.844 kB / 1.016 GB, free: 56.86 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002024/0.726, allocations: 88.34 kB / 1.016 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.913e-05/0.7261, allocations: 71.59 kB / 1.016 GB, free: 56.84 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.205e-05/0.7262, allocations: 66.3 kB / 1.016 GB, free: 56.8 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002738/0.7264, allocations: 248.9 kB / 1.016 GB, free: 56.78 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.7265, allocations: 0 / 1.016 GB, free: 56.78 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.853e-06/0.7265, allocations: 0.5938 kB / 1.016 GB, free: 56.78 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.7265, allocations: 0 / 1.016 GB, free: 56.78 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007027/0.7272, allocations: 488.2 kB / 1.017 GB, free: 56.36 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.7272, allocations: 11.81 kB / 1.017 GB, free: 56.36 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005137/0.7278, allocations: 75.88 kB / 1.017 GB, free: 56.35 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.728, allocations: 243 kB / 1.017 GB, free: 56.13 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.728, allocations: 18.47 kB / 1.017 GB, free: 56.13 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.216e-05/0.7281, allocations: 24.09 kB / 1.017 GB, free: 56.13 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003784/0.7285, allocations: 296.8 kB / 1.017 GB, free: 56.04 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.7285, allocations: 0 / 1.017 GB, free: 56.04 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.7285, allocations: 8.734 kB / 1.017 GB, free: 56.04 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.143e-05/0.7286, allocations: 21.17 kB / 1.017 GB, free: 56.04 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002726/0.7288, allocations: 196.6 kB / 1.018 GB, free: 56.03 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.73, allocations: 1.466 MB / 1.019 GB, free: 54.83 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.7302, allocations: 177.8 kB / 1.019 GB, free: 54.71 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.606e-05/0.7303, allocations: 33.33 kB / 1.019 GB, free: 54.7 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.7303, allocations: 3.422 kB / 1.019 GB, free: 54.7 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.7304, allocations: 38.3 kB / 1.019 GB, free: 54.66 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.7304, allocations: 0 / 1.019 GB, free: 54.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0004295/0.7308, allocations: 223.4 kB / 1.019 GB, free: 54.52 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.7308, allocations: 56.28 kB / 1.019 GB, free: 54.46 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.731, allocations: 199.4 kB / 1.02 GB, free: 54.35 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.731, allocations: 32.11 kB / 1.02 GB, free: 54.32 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.24e-05/0.7311, allocations: 161.2 kB / 1.02 GB, free: 54.19 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.7311, allocations: 25.8 kB / 1.02 GB, free: 54.18 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.141e-06/0.7311, allocations: 6.062 kB / 1.02 GB, free: 54.18 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.302e-05/0.7312, allocations: 330.1 kB / 1.02 GB, free: 53.86 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.276e-05/0.7312, allocations: 30.94 kB / 1.02 GB, free: 53.86 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.337e-05/0.7313, allocations: 96.91 kB / 1.02 GB, free: 53.78 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.7314, allocations: 150.4 kB / 1.02 GB, free: 53.69 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.7315, allocations: 1.75 kB / 1.02 GB, free: 53.69 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002513/0.7317, allocations: 192 kB / 1.021 GB, free: 53.63 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.7317, allocations: 5.156 kB / 1.021 GB, free: 53.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.7317, allocations: 4 kB / 1.021 GB, free: 53.63 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001521/0.7319, allocations: 24.69 kB / 1.021 GB, free: 53.62 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.732, allocations: 31.58 kB / 1.021 GB, free: 53.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007177/0.7327, allocations: 1.317 MB / 1.022 GB, free: 52.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.7329, allocations: 20.94 kB / 1.022 GB, free: 52.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.7329, allocations: 8.469 kB / 1.022 GB, free: 52.34 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.543e-05/0.733, allocations: 144.3 kB / 1.022 GB, free: 52.23 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.67e-05/0.733, allocations: 19 kB / 1.022 GB, free: 52.21 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.826e-05/0.7331, allocations: 22.84 kB / 1.022 GB, free: 52.21 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.7331, allocations: 1.812 kB / 1.022 GB, free: 52.21 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.7331, allocations: 1.156 kB / 1.022 GB, free: 52.21 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.7331, allocations: 0 / 1.022 GB, free: 52.21 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003925/0.7335, allocations: 451.8 kB / 1.023 GB, free: 51.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.7335, allocations: 0 / 1.023 GB, free: 51.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.605e-05/0.7336, allocations: 12.41 kB / 1.023 GB, free: 51.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.795e-05/0.7336, allocations: 24.36 kB / 1.023 GB, free: 51.89 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.7336, allocations: 2.625 kB / 1.023 GB, free: 51.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006115/0.7343, allocations: 1.313 MB / 1.024 GB, free: 50.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.7343, allocations: 3.938 kB / 1.024 GB, free: 50.62 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000165/0.7344, allocations: 209.4 kB / 1.024 GB, free: 50.47 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.406e-05/0.7345, allocations: 99.02 kB / 1.024 GB, free: 50.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.7345, allocations: 4.969 kB / 1.024 GB, free: 50.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.947e-05/0.7346, allocations: 9.625 kB / 1.024 GB, free: 50.36 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.284e-05/0.7347, allocations: 7.062 kB / 1.024 GB, free: 50.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.7347, allocations: 2.969 kB / 1.024 GB, free: 50.36 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.54e-05/0.7348, allocations: 146.8 kB / 1.024 GB, free: 50.28 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7348, allocations: 0 / 1.024 GB, free: 50.28 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002851/0.7351, allocations: 50.19 kB / 1.024 GB, free: 50.27 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 5 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.465e-05/0.7352, allocations: 100.8 kB / 1.025 GB, free: 50.18 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002967/0.7355, allocations: 213.2 kB / 1.025 GB, free: 50.06 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.7355, allocations: 0 / 1.025 GB, free: 50.06 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.7356, allocations: 154 kB / 1.025 GB, free: 49.95 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.736, allocations: 29.77 kB / 1.025 GB, free: 49.95 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004929/0.7365, allocations: 429.5 kB / 1.025 GB, free: 49.69 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001729/0.7366, allocations: 0.7472 MB / 1.026 GB, free: 48.99 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.951e-05/0.7367, allocations: 26.77 kB / 1.026 GB, free: 48.98 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.785e-05/0.7368, allocations: 13.62 kB / 1.026 GB, free: 48.98 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.7368, allocations: 0 / 1.026 GB, free: 48.98 MB / 0.7136 GB Notification: Performance of Templates: time 0.003838/0.7406, allocations: 1.641 MB / 1.028 GB, free: 48.9 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1)