Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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.DC.Loads.Examples.VariableLoad,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_DC_Loads_Examples_VariableLoad",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.01276/0.01276, allocations: 222.1 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.001165/0.001165, allocations: 177.9 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.899/3.899, allocations: 389.1 MB / 405.9 MB, free: 13.24 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.217/4.217, allocations: 472.3 MB / 0.9017 GB, free: 3.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000691/0.0006912, allocations: 12 kB / 1.008 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7094/0.7101, allocations: 98.71 MB / 1.104 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.005384/0.7155, allocations: 3.356 MB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.003466/0.7191, allocations: 1.632 MB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002817/0.7194, allocations: 9.344 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002253/0.7196, allocations: 51.3 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0006715/0.7203, allocations: 188.6 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008073/0.7211, allocations: 200.5 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0008309/0.722, allocations: 0.561 MB / 1.11 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004983/0.7225, allocations: 332.5 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002746/0.7228, allocations: 155.3 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005131/0.7233, allocations: 218.7 kB / 1.111 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 6.735e-05/0.7234, allocations: 16.44 kB / 1.111 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003554/0.7238, allocations: 89.8 kB / 1.111 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.7239, allocations: 113.5 kB / 1.111 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.724, allocations: 87.83 kB / 1.111 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0005653/0.7246, allocations: 360.9 kB / 1.111 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.7246, allocations: 4 kB / 1.111 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7247, allocations: 0 / 1.111 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.425e-06/0.7247, allocations: 1.156 kB / 1.111 GB, free: 208.6 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001336/0.726, allocations: 0.6062 MB / 1.112 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.7261, allocations: 12.38 kB / 1.112 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000101/0.7262, allocations: 74.56 kB / 1.112 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008003/0.727, allocations: 88.27 kB / 1.112 GB, free: 208 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005094/0.7275, allocations: 290.3 kB / 1.112 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.097e-05/0.7276, allocations: 25.11 kB / 1.112 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.136e-05/0.7276, allocations: 26.09 kB / 1.112 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.7288, allocations: 491.1 kB / 1.113 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.7289, allocations: 1 kB / 1.113 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.196e-05/0.7289, allocations: 19.27 kB / 1.113 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.694e-05/0.729, allocations: 44.69 kB / 1.113 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001217/0.7303, allocations: 391.7 kB / 1.113 GB, free: 207.4 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002775/0.7331, allocations: 2.043 MB / 1.115 GB, free: 205.7 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008557/0.734, allocations: 226.6 kB / 1.115 GB, free: 205.6 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006356/0.7346, allocations: 167.8 kB / 1.116 GB, free: 205.5 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.279e-05/0.7347, allocations: 1.969 kB / 1.116 GB, free: 205.5 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.7347, allocations: 36 kB / 1.116 GB, free: 205.5 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 2.655e-06/0.7347, allocations: 1.375 kB / 1.116 GB, free: 205.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.001705/0.7364, allocations: 459.1 kB / 1.116 GB, free: 205.3 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.7365, allocations: 56.16 kB / 1.116 GB, free: 205.2 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003305/0.7368, allocations: 258 kB / 1.116 GB, free: 205.1 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.7369, allocations: 33.7 kB / 1.116 GB, free: 205 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.737, allocations: 215.2 kB / 1.117 GB, free: 204.9 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.111e-05/0.7371, allocations: 60.98 kB / 1.117 GB, free: 204.8 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.852e-05/0.7371, allocations: 4 kB / 1.117 GB, free: 204.8 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.773e-05/0.7372, allocations: 333 kB / 1.117 GB, free: 204.5 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004244/0.7376, allocations: 103.7 kB / 1.117 GB, free: 204.5 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004915/0.7381, allocations: 214.6 kB / 1.117 GB, free: 204.3 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004692/0.7386, allocations: 131.6 kB / 1.117 GB, free: 204.3 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.7386, allocations: 5 kB / 1.117 GB, free: 204.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001223/0.7399, allocations: 372 kB / 1.118 GB, free: 204.1 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.861e-05/0.74, allocations: 200.1 kB / 1.118 GB, free: 203.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.74, allocations: 4 kB / 1.118 GB, free: 203.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002677/0.7403, allocations: 39.33 kB / 1.118 GB, free: 203.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005078/0.7408, allocations: 72.62 kB / 1.118 GB, free: 203.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001259/0.7421, allocations: 1.334 MB / 1.119 GB, free: 202.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004614/0.7426, allocations: 51.42 kB / 1.119 GB, free: 202.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.436e-05/0.7426, allocations: 14.44 kB / 1.119 GB, free: 202.5 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.7426, allocations: 3.938 kB / 1.119 GB, free: 202.5 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00102/0.7437, allocations: 298.9 kB / 1.12 GB, free: 202.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.7437, allocations: 3.406 kB / 1.12 GB, free: 202.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.7437, allocations: 7.609 kB / 1.12 GB, free: 202.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005004/0.7442, allocations: 83.91 kB / 1.12 GB, free: 202.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.7442, allocations: 10.25 kB / 1.12 GB, free: 202.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003515/0.7446, allocations: 45 kB / 1.12 GB, free: 202.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.731e-05/0.7446, allocations: 11.47 kB / 1.12 GB, free: 202.4 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 31 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002622/0.7449, allocations: 245.4 kB / 1.12 GB, free: 202.2 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.389e-05/0.745, allocations: 24.81 kB / 1.12 GB, free: 202.2 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.994e-05/0.7451, allocations: 31.3 kB / 1.12 GB, free: 202.2 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.7451, allocations: 6.578 kB / 1.12 GB, free: 202.2 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.7451, allocations: 0 / 1.12 GB, free: 202.2 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.7451, allocations: 0 / 1.12 GB, free: 202.2 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001711/0.7468, allocations: 0.7722 MB / 1.121 GB, free: 201.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.7469, allocations: 1.125 kB / 1.121 GB, free: 201.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003621/0.7472, allocations: 50.52 kB / 1.121 GB, free: 201.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000154/0.7474, allocations: 28.38 kB / 1.121 GB, free: 201.6 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.7474, allocations: 5.062 kB / 1.121 GB, free: 201.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009952/0.7484, allocations: 1.325 MB / 1.122 GB, free: 200.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.7485, allocations: 1.125 kB / 1.122 GB, free: 200.3 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.7495, allocations: 390.5 kB / 1.123 GB, free: 200.1 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/0.7497, allocations: 117.5 kB / 1.123 GB, free: 200 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.368e-05/0.7497, allocations: 7.812 kB / 1.123 GB, free: 200 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003187/0.7501, allocations: 22.89 kB / 1.123 GB, free: 200 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.793e-05/0.7502, allocations: 16.2 kB / 1.123 GB, free: 200 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.288e-05/0.7502, allocations: 8.281 kB / 1.123 GB, free: 200 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002451/0.7505, allocations: 180.9 kB / 1.123 GB, free: 199.9 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.5e-07/0.7505, allocations: 0 / 1.123 GB, free: 199.9 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008778/0.7514, allocations: 144.7 kB / 1.123 GB, free: 199.8 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (18): * Single equations (assignments): 17 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001324/0.7527, allocations: 0.9294 MB / 1.124 GB, free: 199.1 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001781/0.7545, allocations: 0.5082 MB / 1.125 GB, free: 198.9 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.7546, allocations: 1.531 kB / 1.125 GB, free: 198.9 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006401/0.7552, allocations: 235.7 kB / 1.125 GB, free: 198.7 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000888/0.7561, allocations: 62.8 kB / 1.125 GB, free: 198.7 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005402/0.7616, allocations: 1.703 MB / 1.127 GB, free: 197.7 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005481/0.7622, allocations: 0.8136 MB / 1.127 GB, free: 197 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0007393/0.763, allocations: 69.19 kB / 1.127 GB, free: 197 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003363/0.7633, allocations: 89.19 kB / 1.127 GB, free: 197 MB / 0.7292 GB Notification: Performance of SimCode: time 1.633e-06/0.7633, allocations: 0 / 1.127 GB, free: 197 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03578/0.7991, allocations: 5.692 MB / 1.133 GB, free: 196.9 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002496/0.7995, allocations: 224.1 kB / 1.133 GB, free: 196.6 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.664/3.463, allocations: 3.5 kB / 1.133 GB, free: 196.6 MB / 0.7292 GB