Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.815/1.815, allocations: 297.4 MB / 312.6 MB, free: 2.918 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.001068/0.001068, allocations: 178 kB / 382.3 MB, free: 14.83 MB / 314.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.471/1.471, allocations: 225.7 MB / 0.6617 GB, free: 7.191 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.0007889/0.000789, allocations: 98.12 kB / 0.7789 GB, free: 46.99 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.00046/0.0004601, allocations: 8 kB / 0.9058 GB, free: 4.938 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7217/0.7221, allocations: 119.2 MB / 1.022 GB, free: 58.13 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.003572/0.7258, allocations: 2.681 MB / 1.025 GB, free: 56.77 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002141/0.7279, allocations: 2.098 MB / 1.027 GB, free: 54.88 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001402/0.7281, allocations: 2.281 kB / 1.027 GB, free: 54.88 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002031/0.7283, allocations: 36.05 kB / 1.027 GB, free: 54.86 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0004172/0.7288, allocations: 138.7 kB / 1.027 GB, free: 54.79 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004079/0.7292, allocations: 131.5 kB / 1.027 GB, free: 54.72 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004327/0.7296, allocations: 427.8 kB / 1.028 GB, free: 54.58 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003396/0.73, allocations: 229.6 kB / 1.028 GB, free: 54.45 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001373/0.7301, allocations: 112 kB / 1.028 GB, free: 54.4 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003104/0.7304, allocations: 135.3 kB / 1.028 GB, free: 54.35 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.835e-05/0.7305, allocations: 13.81 kB / 1.028 GB, free: 54.34 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003662/0.7308, allocations: 193.7 kB / 1.028 GB, free: 54.28 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.646e-05/0.7309, allocations: 71.33 kB / 1.028 GB, free: 54.25 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.7311, allocations: 122.3 kB / 1.028 GB, free: 54.17 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004754/0.7315, allocations: 336.5 kB / 1.029 GB, free: 54.07 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.7316, allocations: 1.469 kB / 1.029 GB, free: 54.07 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.354e-06/0.7316, allocations: 1.062 kB / 1.029 GB, free: 54.07 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.351e-06/0.7316, allocations: 0 / 1.029 GB, free: 54.07 MB / 0.698 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.0007653/0.7323, allocations: 487.7 kB / 1.029 GB, free: 53.64 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.7324, allocations: 11.09 kB / 1.029 GB, free: 53.64 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005446/0.733, allocations: 80.41 kB / 1.029 GB, free: 53.62 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/0.7332, allocations: 246.9 kB / 1.03 GB, free: 53.39 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.7333, allocations: 18.86 kB / 1.03 GB, free: 53.38 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.287e-05/0.7333, allocations: 18.22 kB / 1.03 GB, free: 53.38 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004392/0.7338, allocations: 296.3 kB / 1.03 GB, free: 53.21 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.7338, allocations: 0 / 1.03 GB, free: 53.21 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.754e-05/0.7338, allocations: 9.031 kB / 1.03 GB, free: 53.21 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.686e-05/0.7339, allocations: 20.56 kB / 1.03 GB, free: 53.21 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003372/0.7342, allocations: 190.5 kB / 1.03 GB, free: 53.15 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001308/0.7355, allocations: 1.471 MB / 1.032 GB, free: 51.81 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002642/0.7358, allocations: 182.1 kB / 1.032 GB, free: 51.66 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.842e-05/0.7359, allocations: 31.83 kB / 1.032 GB, free: 51.65 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.7359, allocations: 0 / 1.032 GB, free: 51.65 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.7359, allocations: 32.81 kB / 1.032 GB, free: 51.61 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.7359, allocations: 0 / 1.032 GB, free: 51.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0004674/0.7364, allocations: 224.7 kB / 1.032 GB, free: 51.44 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.263e-05/0.7364, allocations: 59.34 kB / 1.032 GB, free: 51.37 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.7366, allocations: 200.1 kB / 1.032 GB, free: 51.24 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.7366, allocations: 29.7 kB / 1.032 GB, free: 51.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.193e-05/0.7367, allocations: 167 kB / 1.032 GB, free: 51.06 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/0.7367, allocations: 26 kB / 1.032 GB, free: 51.04 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-06/0.7368, allocations: 4 kB / 1.032 GB, free: 51.04 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.805e-05/0.7368, allocations: 328.5 kB / 1.033 GB, free: 50.71 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.704e-05/0.7369, allocations: 35.09 kB / 1.033 GB, free: 50.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.991e-05/0.737, allocations: 99.75 kB / 1.033 GB, free: 50.61 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.7371, allocations: 150.5 kB / 1.033 GB, free: 50.48 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.7371, allocations: 0 / 1.033 GB, free: 50.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002695/0.7374, allocations: 192.2 kB / 1.033 GB, free: 50.38 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.7374, allocations: 6.219 kB / 1.033 GB, free: 50.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.7375, allocations: 2.031 kB / 1.033 GB, free: 50.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001677/0.7376, allocations: 26.58 kB / 1.033 GB, free: 50.36 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.7377, allocations: 25.69 kB / 1.033 GB, free: 50.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007914/0.7385, allocations: 1.321 MB / 1.035 GB, free: 49.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.7387, allocations: 17.91 kB / 1.035 GB, free: 49.03 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.7387, allocations: 13.64 kB / 1.035 GB, free: 49.02 MB / 0.698 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 (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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001209/0.7388, allocations: 148.5 kB / 1.035 GB, free: 48.89 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/0.7389, allocations: 19.16 kB / 1.035 GB, free: 48.88 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.907e-05/0.7389, allocations: 16.47 kB / 1.035 GB, free: 48.86 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.7389, allocations: 0.9375 kB / 1.035 GB, free: 48.86 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.7389, allocations: 4.578 kB / 1.035 GB, free: 48.86 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.7389, allocations: 0.6094 kB / 1.035 GB, free: 48.86 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000443/0.7394, allocations: 446.1 kB / 1.035 GB, free: 48.49 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.7394, allocations: 1.172 kB / 1.035 GB, free: 48.49 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.688e-05/0.7394, allocations: 7.094 kB / 1.035 GB, free: 48.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.411e-05/0.7395, allocations: 23.61 kB / 1.035 GB, free: 48.48 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.373e-06/0.7395, allocations: 0 / 1.035 GB, free: 48.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006651/0.7402, allocations: 1.315 MB / 1.037 GB, free: 47.16 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.7402, allocations: 3.938 kB / 1.037 GB, free: 47.16 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/0.7404, allocations: 216.2 kB / 1.037 GB, free: 46.98 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.576e-05/0.7405, allocations: 98.27 kB / 1.037 GB, free: 46.88 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.7405, allocations: 7.75 kB / 1.037 GB, free: 46.87 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.7406, allocations: 2.156 kB / 1.037 GB, free: 46.87 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.687e-05/0.7407, allocations: 9.875 kB / 1.037 GB, free: 46.87 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.7407, allocations: 6.156 kB / 1.037 GB, free: 46.86 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001083/0.7408, allocations: 144.8 kB / 1.037 GB, free: 46.77 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/0.7408, allocations: 0 / 1.037 GB, free: 46.77 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003234/0.7411, allocations: 59.72 kB / 1.037 GB, free: 46.75 MB / 0.698 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 (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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001191/0.7413, allocations: 103.9 kB / 1.037 GB, free: 46.66 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003768/0.7417, allocations: 214.6 kB / 1.037 GB, free: 46.51 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.7417, allocations: 0.5625 kB / 1.037 GB, free: 46.51 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.7418, allocations: 156.4 kB / 1.038 GB, free: 46.38 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/0.7422, allocations: 27.75 kB / 1.038 GB, free: 46.37 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007713/0.743, allocations: 443.1 kB / 1.038 GB, free: 46.08 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.7433, allocations: 0.75 MB / 1.039 GB, free: 45.37 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001094/0.7434, allocations: 26.42 kB / 1.039 GB, free: 45.36 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.752e-05/0.7435, allocations: 17.41 kB / 1.039 GB, free: 45.36 MB / 0.698 GB Notification: Performance of SimCode: time 3.1e-07/0.7435, allocations: 0 / 1.039 GB, free: 45.36 MB / 0.698 GB Notification: Performance of Templates: time 0.005124/0.7486, allocations: 1.677 MB / 1.04 GB, free: 45.23 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1)