Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.231/4.231, allocations: 432.6 MB / 445.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.326e-05/3.353e-05, allocations: 2.844 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2214, allocations: 98.73 MB / 0.6347 GB, free: 1.883 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8974/1.119, allocations: 150.5 MB / 0.7817 GB, free: 57.91 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003347/1.119, allocations: 87.23 kB / 0.7818 GB, free: 57.91 MB / 0.6511 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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/OpenModelica/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/OpenModelica/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.046/1.165, allocations: 11.27 MB / 0.7928 GB, free: 56.64 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.833e-06/1.165, allocations: 0 / 0.7928 GB, free: 56.64 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.35e-05/1.165, allocations: 8.406 kB / 0.7928 GB, free: 56.64 MB / 0.6511 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.0008348/1.166, allocations: 472.5 kB / 0.7932 GB, free: 56.23 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/1.166, allocations: 9.844 kB / 0.7933 GB, free: 56.23 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.914e-05/1.166, allocations: 54.52 kB / 0.7933 GB, free: 56.2 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009665/1.167, allocations: 80.17 kB / 0.7934 GB, free: 56.18 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005439/1.168, allocations: 242.2 kB / 0.7936 GB, free: 55.96 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.721e-05/1.168, allocations: 17.34 kB / 0.7936 GB, free: 55.96 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.33e-05/1.168, allocations: 18.75 kB / 0.7936 GB, free: 55.96 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000688/1.169, allocations: 286.3 kB / 0.7939 GB, free: 55.88 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/1.169, allocations: 1.438 kB / 0.7939 GB, free: 55.88 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.006e-05/1.169, allocations: 12.83 kB / 0.7939 GB, free: 55.88 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.654e-05/1.169, allocations: 13.36 kB / 0.7939 GB, free: 55.88 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004968/1.169, allocations: 194.3 kB / 0.7941 GB, free: 55.87 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002086/1.171, allocations: 1.471 MB / 0.7956 GB, free: 54.65 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003925/1.172, allocations: 177.9 kB / 0.7957 GB, free: 54.53 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.47e-05/1.172, allocations: 32.23 kB / 0.7958 GB, free: 54.52 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/1.172, allocations: 0.9688 kB / 0.7958 GB, free: 54.52 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/1.172, allocations: 35.17 kB / 0.7958 GB, free: 54.48 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 3.556e-06/1.172, allocations: 0 / 0.7958 GB, free: 54.48 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0004332/1.173, allocations: 105.6 kB / 0.7959 GB, free: 54.43 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/1.173, allocations: 61.16 kB / 0.796 GB, free: 54.36 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002728/1.173, allocations: 175.3 kB / 0.7961 GB, free: 54.27 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/1.173, allocations: 27.67 kB / 0.7962 GB, free: 54.24 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/1.173, allocations: 166.4 kB / 0.7963 GB, free: 54.11 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.245e-05/1.173, allocations: 27.14 kB / 0.7963 GB, free: 54.09 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.154e-05/1.173, allocations: 3.125 kB / 0.7963 GB, free: 54.09 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.513e-05/1.173, allocations: 323.6 kB / 0.7966 GB, free: 53.78 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/1.173, allocations: 33.47 kB / 0.7967 GB, free: 53.78 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/1.173, allocations: 105.2 kB / 0.7968 GB, free: 53.7 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/1.174, allocations: 52.5 kB / 0.7968 GB, free: 53.69 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/1.174, allocations: 1.312 kB / 0.7968 GB, free: 53.69 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005002/1.174, allocations: 182.4 kB / 0.797 GB, free: 53.62 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/1.174, allocations: 12.52 kB / 0.797 GB, free: 53.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/1.174, allocations: 6.422 kB / 0.797 GB, free: 53.62 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002234/1.174, allocations: 24.5 kB / 0.797 GB, free: 53.61 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002135/1.175, allocations: 30.77 kB / 0.7971 GB, free: 53.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001216/1.176, allocations: 1.326 MB / 0.7984 GB, free: 52.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002534/1.176, allocations: 15.03 kB / 0.7984 GB, free: 52.32 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/1.176, allocations: 7 kB / 0.7984 GB, free: 52.32 MB / 0.6511 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 () * 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.0001039/1.176, allocations: 116.3 kB / 0.7985 GB, free: 52.21 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.476e-05/1.176, allocations: 19.69 kB / 0.7985 GB, free: 52.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.039e-05/1.176, allocations: 21.38 kB / 0.7985 GB, free: 52.18 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/1.176, allocations: 2.781 kB / 0.7985 GB, free: 52.18 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/1.177, allocations: 0 / 0.7985 GB, free: 52.18 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/1.177, allocations: 5 kB / 0.7986 GB, free: 52.18 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007856/1.177, allocations: 440.9 kB / 0.799 GB, free: 51.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/1.177, allocations: 0 / 0.799 GB, free: 51.88 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.754e-05/1.177, allocations: 6.688 kB / 0.799 GB, free: 51.88 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001347/1.178, allocations: 30.06 kB / 0.799 GB, free: 51.86 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/1.178, allocations: 2.219 kB / 0.799 GB, free: 51.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001064/1.179, allocations: 1.312 MB / 0.8003 GB, free: 50.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.179, allocations: 3.875 kB / 0.8003 GB, free: 50.59 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003434/1.179, allocations: 206.3 kB / 0.8005 GB, free: 50.44 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/1.179, allocations: 101.2 kB / 0.8006 GB, free: 50.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.415e-05/1.179, allocations: 2.594 kB / 0.8006 GB, free: 50.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002405/1.179, allocations: 8.125 kB / 0.8006 GB, free: 50.33 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.932e-05/1.18, allocations: 12.91 kB / 0.8006 GB, free: 50.33 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/1.18, allocations: 5.266 kB / 0.8006 GB, free: 50.32 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002252/1.18, allocations: 144.3 kB / 0.8008 GB, free: 50.25 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/1.18, allocations: 1.125 kB / 0.8008 GB, free: 50.25 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005065/1.18, allocations: 52.47 kB / 0.8008 GB, free: 50.24 MB / 0.6511 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 () * 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.0006182/1.181, allocations: 0.7499 MB / 0.8015 GB, free: 49.55 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000507/1.181, allocations: 207.6 kB / 0.8017 GB, free: 49.43 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/1.182, allocations: 0.5625 kB / 0.8017 GB, free: 49.43 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002043/1.182, allocations: 151.2 kB / 0.8019 GB, free: 49.32 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004525/1.182, allocations: 30.41 kB / 0.8019 GB, free: 49.31 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000926/1.183, allocations: 282.5 kB / 0.8022 GB, free: 49.16 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/1.183, allocations: 0.7544 MB / 0.8029 GB, free: 48.46 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002043/1.184, allocations: 21.47 kB / 0.8029 GB, free: 48.45 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/1.184, allocations: 49.98 kB / 0.803 GB, free: 48.45 MB / 0.6511 GB Notification: Performance of SimCode: time 1.062e-06/1.184, allocations: 4 kB / 0.803 GB, free: 48.44 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03108/1.215, allocations: 3.349 MB / 0.8063 GB, free: 48.05 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002328/1.215, allocations: 169.2 kB / 0.8064 GB, free: 47.83 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.475/3.691, allocations: 1.062 kB / 0.8064 GB, free: 47.83 MB / 0.6511 GB