Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadModel(Buildings): time 3.983/3.983, allocations: 433.4 MB / 440.9 MB, free: 10.48 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.296e-05/2.303e-05, allocations: 11.92 kB / 0.5325 GB, free: 1.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5011/0.5012, allocations: 98.7 MB / 0.6289 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2692/0.7705, allocations: 150 MB / 0.7754 GB, free: 9.531 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/0.7708, allocations: 91.88 kB / 0.7755 GB, free: 9.441 MB / 0.6511 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.0556/0.8264, allocations: 16 MB / 0.7911 GB, free: 9.219 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.18e-06/0.8264, allocations: 0 / 0.7911 GB, free: 9.219 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.526e-05/0.8265, allocations: 8 kB / 0.7911 GB, free: 9.211 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0009497/0.8274, allocations: 0.5529 MB / 0.7917 GB, free: 8.613 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.8275, allocations: 12.02 kB / 0.7917 GB, free: 8.602 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001967/0.8295, allocations: 135.5 kB / 0.7918 GB, free: 8.469 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.8306, allocations: 290.4 kB / 0.7921 GB, free: 8.145 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.286e-05/0.8307, allocations: 12 kB / 0.7921 GB, free: 8.133 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.8308, allocations: 16 kB / 0.7921 GB, free: 8.117 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001452/0.8323, allocations: 273.5 kB / 0.7924 GB, free: 7.848 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001791/0.8341, allocations: 405.7 kB / 0.7927 GB, free: 7.414 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.404e-05/0.8342, allocations: 3.938 kB / 0.7927 GB, free: 7.41 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.975e-05/0.8343, allocations: 0 / 0.7927 GB, free: 7.41 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001161/0.8344, allocations: 28.55 kB / 0.7928 GB, free: 7.383 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005637/0.8401, allocations: 2.114 MB / 0.7948 GB, free: 5.07 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009518/0.8411, allocations: 239.8 kB / 0.7951 GB, free: 4.809 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006324/0.8418, allocations: 108.8 kB / 0.7952 GB, free: 4.699 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.8418, allocations: 4 kB / 0.7952 GB, free: 4.695 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.004e-05/0.8419, allocations: 30.56 kB / 0.7952 GB, free: 4.656 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=14): time 5.808e-06/0.8419, allocations: 0 / 0.7952 GB, free: 4.656 MB / 0.6667 GB Notification: Performance of matching and sorting (n=14): time 0.0008936/0.8428, allocations: 150.6 kB / 0.7953 GB, free: 4.5 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.544e-05/0.843, allocations: 59.41 kB / 0.7954 GB, free: 4.43 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005459/0.8435, allocations: 191.1 kB / 0.7956 GB, free: 4.238 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.903e-05/0.8436, allocations: 25.7 kB / 0.7956 GB, free: 4.207 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003179/0.8439, allocations: 207.4 kB / 0.7958 GB, free: 4 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.8441, allocations: 47.3 kB / 0.7959 GB, free: 3.953 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.288e-05/0.8441, allocations: 0 / 0.7959 GB, free: 3.953 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0003111/0.8444, allocations: 330.8 kB / 0.7962 GB, free: 3.621 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002766/0.8447, allocations: 52.39 kB / 0.7962 GB, free: 3.57 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004205/0.8452, allocations: 139.1 kB / 0.7964 GB, free: 3.398 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003892/0.8456, allocations: 79.83 kB / 0.7964 GB, free: 3.32 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/0.8456, allocations: 0 / 0.7964 GB, free: 3.32 MB / 0.6667 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00117/0.8468, allocations: 234 kB / 0.7967 GB, free: 3.082 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.598e-05/0.8469, allocations: 6.125 kB / 0.7967 GB, free: 3.078 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/0.8469, allocations: 7.938 kB / 0.7967 GB, free: 3.07 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003223/0.8473, allocations: 24.84 kB / 0.7967 GB, free: 3.043 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005366/0.8478, allocations: 51.98 kB / 0.7967 GB, free: 2.992 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002604/0.8505, allocations: 1.268 MB / 0.798 GB, free: 1.605 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004831/0.851, allocations: 15.84 kB / 0.798 GB, free: 1.59 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.418e-05/0.8511, allocations: 12.11 kB / 0.798 GB, free: 1.578 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * 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.0002222/0.8513, allocations: 116.9 kB / 0.7981 GB, free: 1.457 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/0.8515, allocations: 23.72 kB / 0.7981 GB, free: 1.434 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.8516, allocations: 21.95 kB / 0.7982 GB, free: 1.414 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.8517, allocations: 4 kB / 0.7982 GB, free: 1.41 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.772e-06/0.8517, allocations: 0 / 0.7982 GB, free: 1.41 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/0.8517, allocations: 3.984 kB / 0.7982 GB, free: 1.406 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002414/0.8541, allocations: 0.6328 MB / 0.7988 GB, free: 0.6953 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.113e-06/0.8542, allocations: 0 / 0.7988 GB, free: 0.6953 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002696/0.8545, allocations: 28.11 kB / 0.7988 GB, free: 0.668 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002387/0.8547, allocations: 32.8 kB / 0.7988 GB, free: 0.6328 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.2e-05/0.8548, allocations: 0 / 0.7988 GB, free: 0.6328 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4643/1.319, allocations: 1.259 MB / 0.8001 GB, free: 157.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.121e-05/1.319, allocations: 3.297 kB / 0.8001 GB, free: 157.6 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007636/1.32, allocations: 371.9 kB / 0.8004 GB, free: 157.3 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000188/1.32, allocations: 112.2 kB / 0.8005 GB, free: 157.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.058e-05/1.32, allocations: 3.812 kB / 0.8005 GB, free: 157.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003726/1.321, allocations: 8.922 kB / 0.8006 GB, free: 157.2 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.845e-05/1.321, allocations: 18.81 kB / 0.8006 GB, free: 157.2 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.378e-05/1.321, allocations: 7.531 kB / 0.8006 GB, free: 157.2 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003214/1.321, allocations: 147.4 kB / 0.8007 GB, free: 157.1 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.471e-06/1.321, allocations: 0 / 0.8007 GB, free: 157.1 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001178/1.322, allocations: 77.27 kB / 0.8008 GB, free: 157.1 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * 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.0001987/1.323, allocations: 102.2 kB / 0.8009 GB, free: 157 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0009539/1.324, allocations: 246.3 kB / 0.8011 GB, free: 156.9 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.725e-06/1.324, allocations: 0.5938 kB / 0.8011 GB, free: 156.9 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003925/1.324, allocations: 169.3 kB / 0.8013 GB, free: 156.8 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007145/1.325, allocations: 48.08 kB / 0.8013 GB, free: 156.8 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/1.326, allocations: 360.7 kB / 0.8017 GB, free: 156.7 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006185/1.327, allocations: 0.7999 MB / 0.8025 GB, free: 156 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004092/1.327, allocations: 40.06 kB / 0.8025 GB, free: 156 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.729e-05/1.327, allocations: 18.86 kB / 0.8025 GB, free: 156 MB / 0.6667 GB Notification: Performance of SimCode: time 2.894e-06/1.327, allocations: 4.812 kB / 0.8025 GB, free: 156 MB / 0.6667 GB Notification: Performance of Templates: time 0.009994/1.337, allocations: 2.122 MB / 0.8046 GB, free: 155.9 MB / 0.6667 GB