Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.715/1.715, allocations: 292.6 MB / 307.9 MB, free: 7.168 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.001165/0.001165, allocations: 196.6 kB / 376.5 MB, free: 4.441 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.446/1.446, allocations: 225.7 MB / 0.655 GB, free: 13.14 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.001002/0.001002, allocations: 91.34 kB / 0.7711 GB, free: 50.29 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004357/0.0004357, allocations: 12 kB / 0.897 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8138/0.8142, allocations: 118.2 MB / 1.012 GB, free: 58.12 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.003311/0.8176, allocations: 2.654 MB / 1.015 GB, free: 58 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001823/0.8194, allocations: 1.236 MB / 1.016 GB, free: 57.89 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.8196, allocations: 3.031 kB / 1.016 GB, free: 57.89 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001763/0.8198, allocations: 39.23 kB / 1.016 GB, free: 57.88 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003701/0.8201, allocations: 130.4 kB / 1.016 GB, free: 57.84 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003272/0.8205, allocations: 118.9 kB / 1.016 GB, free: 57.83 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003286/0.8208, allocations: 355.7 kB / 1.017 GB, free: 57.77 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002939/0.8211, allocations: 228.5 kB / 1.017 GB, free: 57.68 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.8212, allocations: 99.45 kB / 1.017 GB, free: 57.66 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002752/0.8215, allocations: 126.1 kB / 1.017 GB, free: 57.64 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.731e-05/0.8216, allocations: 11.72 kB / 1.017 GB, free: 57.64 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003273/0.8219, allocations: 200.8 kB / 1.017 GB, free: 57.62 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.364e-05/0.822, allocations: 73 kB / 1.018 GB, free: 57.61 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.8221, allocations: 116.6 kB / 1.018 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002866/0.8224, allocations: 257.4 kB / 1.018 GB, free: 57.53 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.8224, allocations: 0 / 1.018 GB, free: 57.53 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.664e-06/0.8224, allocations: 0 / 1.018 GB, free: 57.53 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.8224, allocations: 0 / 1.018 GB, free: 57.53 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.0006534/0.8231, allocations: 492.6 kB / 1.018 GB, free: 57.11 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.8231, allocations: 11.06 kB / 1.018 GB, free: 57.11 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005312/0.8237, allocations: 76.56 kB / 1.018 GB, free: 57.1 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.8239, allocations: 247.5 kB / 1.019 GB, free: 56.88 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.8239, allocations: 15.44 kB / 1.019 GB, free: 56.88 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/0.824, allocations: 19.22 kB / 1.019 GB, free: 56.88 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003829/0.8244, allocations: 305.1 kB / 1.019 GB, free: 56.78 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.8244, allocations: 1.781 kB / 1.019 GB, free: 56.78 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.462e-05/0.8244, allocations: 6.625 kB / 1.019 GB, free: 56.78 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.251e-05/0.8245, allocations: 24.08 kB / 1.019 GB, free: 56.78 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002775/0.8247, allocations: 190.2 kB / 1.019 GB, free: 56.77 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.8259, allocations: 1.469 MB / 1.021 GB, free: 55.57 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.8262, allocations: 179.9 kB / 1.021 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.442e-05/0.8262, allocations: 35.69 kB / 1.021 GB, free: 55.44 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.755e-06/0.8263, allocations: 0 / 1.021 GB, free: 55.44 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.8263, allocations: 34.66 kB / 1.021 GB, free: 55.4 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 9.91e-07/0.8263, allocations: 0 / 1.021 GB, free: 55.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0004395/0.8267, allocations: 219.6 kB / 1.021 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.8268, allocations: 58.47 kB / 1.021 GB, free: 55.2 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.8269, allocations: 199.2 kB / 1.021 GB, free: 55.09 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.827, allocations: 28.39 kB / 1.021 GB, free: 55.06 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.836e-05/0.827, allocations: 162.9 kB / 1.022 GB, free: 54.94 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.8271, allocations: 30.23 kB / 1.022 GB, free: 54.92 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-06/0.8271, allocations: 4.844 kB / 1.022 GB, free: 54.92 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.242e-05/0.8271, allocations: 330.8 kB / 1.022 GB, free: 54.6 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.722e-05/0.8272, allocations: 34.47 kB / 1.022 GB, free: 54.6 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.383e-05/0.8273, allocations: 98.38 kB / 1.022 GB, free: 54.52 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.8274, allocations: 149.1 kB / 1.022 GB, free: 54.43 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.8274, allocations: 3.906 kB / 1.022 GB, free: 54.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002547/0.8277, allocations: 191.5 kB / 1.022 GB, free: 54.37 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.8277, allocations: 6.031 kB / 1.022 GB, free: 54.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.8277, allocations: 2.562 kB / 1.022 GB, free: 54.37 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001628/0.8279, allocations: 20.98 kB / 1.022 GB, free: 54.36 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.828, allocations: 32.38 kB / 1.022 GB, free: 54.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007617/0.8288, allocations: 1.313 MB / 1.024 GB, free: 53.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.8289, allocations: 23.84 kB / 1.024 GB, free: 53.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.8289, allocations: 8.594 kB / 1.024 GB, free: 53.09 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 0.0001134/0.8291, allocations: 148.3 kB / 1.024 GB, free: 52.97 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.625e-05/0.8291, allocations: 19.88 kB / 1.024 GB, free: 52.96 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.686e-05/0.8291, allocations: 20.81 kB / 1.024 GB, free: 52.95 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.8291, allocations: 2.969 kB / 1.024 GB, free: 52.95 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.8292, allocations: 0.625 kB / 1.024 GB, free: 52.95 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.8292, allocations: 0 / 1.024 GB, free: 52.95 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004791/0.8296, allocations: 447.1 kB / 1.024 GB, free: 52.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.8297, allocations: 0 / 1.024 GB, free: 52.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.488e-05/0.8297, allocations: 7.625 kB / 1.024 GB, free: 52.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.4e-05/0.8298, allocations: 23.86 kB / 1.024 GB, free: 52.64 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.8298, allocations: 0 / 1.024 GB, free: 52.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006736/0.8305, allocations: 1.316 MB / 1.026 GB, free: 51.37 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.8305, allocations: 5.578 kB / 1.026 GB, free: 51.36 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001858/0.8307, allocations: 212.2 kB / 1.026 GB, free: 51.21 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.049e-05/0.8308, allocations: 104 kB / 1.026 GB, free: 51.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.8308, allocations: 3.938 kB / 1.026 GB, free: 51.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.8309, allocations: 4.25 kB / 1.026 GB, free: 51.11 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.8309, allocations: 10.44 kB / 1.026 GB, free: 51.11 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.972e-06/0.8309, allocations: 2.875 kB / 1.026 GB, free: 51.11 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001117/0.8311, allocations: 144.5 kB / 1.026 GB, free: 51.02 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8311, allocations: 0 / 1.026 GB, free: 51.02 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003414/0.8314, allocations: 53.56 kB / 1.026 GB, free: 51.02 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 0.0001244/0.8315, allocations: 114 kB / 1.026 GB, free: 50.92 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003402/0.8319, allocations: 207 kB / 1.026 GB, free: 50.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.8319, allocations: 0 / 1.026 GB, free: 50.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.832, allocations: 153.1 kB / 1.027 GB, free: 50.68 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/0.8324, allocations: 36.19 kB / 1.027 GB, free: 50.68 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005325/0.8329, allocations: 419.1 kB / 1.027 GB, free: 50.43 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.8331, allocations: 0.7579 MB / 1.028 GB, free: 49.73 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.243e-05/0.8332, allocations: 23.88 kB / 1.028 GB, free: 49.72 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.021e-05/0.8332, allocations: 16.25 kB / 1.028 GB, free: 49.71 MB / 0.7136 GB Notification: Performance of SimCode: time 3.31e-07/0.8332, allocations: 0 / 1.028 GB, free: 49.71 MB / 0.7136 GB Notification: Performance of Templates: time 0.004285/0.8375, allocations: 1.653 MB / 1.029 GB, free: 49.65 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1)