Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01832/0.01833, allocations: 223 kB / 15.17 MB, free: 5.922 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.0018/0.0018, allocations: 180.5 kB / 16.06 MB, free: 5.828 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.825/3.825, allocations: 389 MB / 405.9 MB, free: 67.63 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.789/4.789, allocations: 472.3 MB / 0.9018 GB, free: 13.42 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004975/0.0004981, allocations: 12 kB / 1.008 GB, free: 0.75 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6847/0.6852, allocations: 98.73 MB / 1.104 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008358/0.6936, allocations: 5.96 MB / 1.11 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.005839/0.6995, allocations: 2.863 MB / 1.113 GB, free: 175 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007628/0.7003, allocations: 19.88 kB / 1.113 GB, free: 175 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004064/0.7007, allocations: 119 kB / 1.113 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001643/0.7024, allocations: 440.7 kB / 1.113 GB, free: 174.4 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.7038, allocations: 321.1 kB / 1.114 GB, free: 174.1 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002/0.7058, allocations: 1.325 MB / 1.115 GB, free: 172.8 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002305/0.7081, allocations: 0.9302 MB / 1.116 GB, free: 171.9 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008222/0.709, allocations: 379.5 kB / 1.116 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008592/0.7098, allocations: 484.4 kB / 1.117 GB, free: 171 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001403/0.71, allocations: 36 kB / 1.117 GB, free: 171 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007615/0.7108, allocations: 195.6 kB / 1.117 GB, free: 170.8 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003174/0.7111, allocations: 266.6 kB / 1.117 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002237/0.7113, allocations: 181.3 kB / 1.117 GB, free: 170.4 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001203/0.7126, allocations: 0.8898 MB / 1.118 GB, free: 169.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.7126, allocations: 0 / 1.118 GB, free: 169.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.626e-06/0.7126, allocations: 4 kB / 1.118 GB, free: 169.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.426e-05/0.7126, allocations: 0 / 1.118 GB, free: 169.5 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002363/0.715, allocations: 1.016 MB / 1.119 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.7151, allocations: 8.031 kB / 1.119 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00022/0.7153, allocations: 123.2 kB / 1.119 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002385/0.7177, allocations: 246.2 kB / 1.12 GB, free: 168 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/0.7192, allocations: 0.5327 MB / 1.12 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.071e-05/0.7192, allocations: 45.3 kB / 1.12 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/0.7194, allocations: 67.98 kB / 1.12 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002239/0.7217, allocations: 1.074 MB / 1.121 GB, free: 166.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.805e-05/0.7217, allocations: 7.938 kB / 1.121 GB, free: 166.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/0.7219, allocations: 31.98 kB / 1.121 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002379/0.7221, allocations: 89.2 kB / 1.121 GB, free: 166 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001788/0.7239, allocations: 0.7426 MB / 1.122 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007066/0.731, allocations: 5.902 MB / 1.128 GB, free: 159 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/0.7325, allocations: 0.5497 MB / 1.128 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006299/0.7332, allocations: 330 kB / 1.129 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.166e-05/0.7333, allocations: 5.562 kB / 1.129 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.7333, allocations: 39 kB / 1.129 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 3.477e-06/0.7333, allocations: 0 / 1.129 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=48): time 0.005827/0.7391, allocations: 1.992 MB / 1.131 GB, free: 156 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.7392, allocations: 55.84 kB / 1.131 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007757/0.74, allocations: 0.547 MB / 1.131 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.315e-05/0.7401, allocations: 37.7 kB / 1.131 GB, free: 155.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002489/0.7404, allocations: 414.9 kB / 1.132 GB, free: 154.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/0.7405, allocations: 169.6 kB / 1.132 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.802e-05/0.7406, allocations: 12 kB / 1.132 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.7407, allocations: 378.1 kB / 1.132 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006108/0.7413, allocations: 269.8 kB / 1.132 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007534/0.7421, allocations: 493.3 kB / 1.133 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000749/0.7429, allocations: 349 kB / 1.133 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.7429, allocations: 0 / 1.133 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00271/0.7456, allocations: 1.082 MB / 1.134 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.7457, allocations: 10.56 kB / 1.134 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.7457, allocations: 4 kB / 1.134 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001319/0.747, allocations: 286.2 kB / 1.135 GB, free: 151.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008973/0.7479, allocations: 123.8 kB / 1.135 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007599/0.7555, allocations: 6.596 MB / 1.141 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/0.7566, allocations: 39.97 kB / 1.141 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.669e-05/0.7567, allocations: 28 kB / 1.141 GB, free: 144.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000475/0.7572, allocations: 252.6 kB / 1.141 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.7574, allocations: 75.11 kB / 1.142 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002317/0.7597, allocations: 0.8842 MB / 1.142 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.7597, allocations: 7.938 kB / 1.142 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.7598, allocations: 4 kB / 1.142 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.7598, allocations: 4.641 kB / 1.142 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006812/0.7666, allocations: 1.725 MB / 1.144 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.508e-05/0.7667, allocations: 0.8438 kB / 1.144 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008923/0.7676, allocations: 59.89 kB / 1.144 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002254/0.7699, allocations: 274 kB / 1.144 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001323/0.7701, allocations: 4 kB / 1.144 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009175/0.7792, allocations: 6.591 MB / 1.151 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.7793, allocations: 1.375 kB / 1.151 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002325/0.7816, allocations: 0.974 MB / 1.152 GB, free: 133 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004666/0.7821, allocations: 202.4 kB / 1.152 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001608/0.7823, allocations: 15.95 kB / 1.152 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006247/0.783, allocations: 23.97 kB / 1.152 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/0.7831, allocations: 55.08 kB / 1.152 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.481e-05/0.7832, allocations: 12 kB / 1.152 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005446/0.7837, allocations: 375.1 kB / 1.152 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.41e-07/0.7837, allocations: 4 kB / 1.152 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001095/0.7849, allocations: 224 kB / 1.153 GB, free: 132.1 MB / 0.6823 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002577/0.7874, allocations: 1.544 MB / 1.154 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003067/0.7906, allocations: 1.274 MB / 1.155 GB, free: 129.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/0.7906, allocations: 0 / 1.155 GB, free: 129.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001834/0.7925, allocations: 0.8804 MB / 1.156 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001844/0.7943, allocations: 201 kB / 1.156 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009182/0.8036, allocations: 4.394 MB / 1.161 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005922/0.8042, allocations: 1.022 MB / 1.162 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0007487/0.805, allocations: 126.4 kB / 1.162 GB, free: 122.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004056/0.8054, allocations: 246.9 kB / 1.162 GB, free: 122.2 MB / 0.6823 GB Notification: Performance of SimCode: time 9.82e-07/0.8054, allocations: 0 / 1.162 GB, free: 122.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0569/0.8623, allocations: 16.21 MB / 1.178 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002578/0.8627, allocations: 221.5 kB / 1.178 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.298/4.161, allocations: 64 / 1.178 GB, free: 106.6 MB / 0.6823 GB