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.Loads.Examples.ParallelResistors.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.238/4.238, allocations: 433.2 MB / 440.7 MB, free: 4.539 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.44e-05/2.44e-05, allocations: 3.344 kB / 0.5325 GB, free: 12.77 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2173, allocations: 98.74 MB / 0.6289 GB, free: 9.066 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2938/0.5112, allocations: 139.8 MB / 0.7654 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003543/0.5116, allocations: 91.94 kB / 0.7655 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.563/1.075, allocations: 13.24 MB / 0.7785 GB, free: 142.4 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.796e-06/1.075, allocations: 0 / 0.7785 GB, free: 142.4 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.249e-05/1.075, allocations: 4.5 kB / 0.7785 GB, free: 142.4 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0008788/1.076, allocations: 480.5 kB / 0.7789 GB, free: 142 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/1.076, allocations: 10.22 kB / 0.7789 GB, free: 142 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009236/1.077, allocations: 87.08 kB / 0.779 GB, free: 142 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003472/1.077, allocations: 240.4 kB / 0.7792 GB, free: 141.8 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/1.077, allocations: 5.062 kB / 0.7792 GB, free: 141.8 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.753e-05/1.077, allocations: 8.906 kB / 0.7793 GB, free: 141.8 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004993/1.078, allocations: 178.7 kB / 0.7794 GB, free: 141.8 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005446/1.078, allocations: 262.8 kB / 0.7797 GB, free: 141.7 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/1.078, allocations: 0.6562 kB / 0.7797 GB, free: 141.7 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.241e-05/1.078, allocations: 3.938 kB / 0.7797 GB, free: 141.7 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-05/1.078, allocations: 21.55 kB / 0.7797 GB, free: 141.7 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002088/1.08, allocations: 1.459 MB / 0.7811 GB, free: 140.6 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006029/1.081, allocations: 238.5 kB / 0.7814 GB, free: 140.6 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002302/1.081, allocations: 112.6 kB / 0.7815 GB, free: 140.5 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/1.081, allocations: 4.75 kB / 0.7815 GB, free: 140.5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/1.081, allocations: 34.31 kB / 0.7815 GB, free: 140.5 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 2.886e-06/1.081, allocations: 0 / 0.7815 GB, free: 140.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0006479/1.082, allocations: 218.6 kB / 0.7817 GB, free: 140.5 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/1.082, allocations: 86.66 kB / 0.7818 GB, free: 140.4 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/1.082, allocations: 148.3 kB / 0.7819 GB, free: 140.3 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/1.082, allocations: 25.7 kB / 0.782 GB, free: 140.2 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.597e-05/1.082, allocations: 143.8 kB / 0.7821 GB, free: 140.1 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.702e-05/1.082, allocations: 56.72 kB / 0.7821 GB, free: 140.1 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.809e-05/1.082, allocations: 1.188 kB / 0.7821 GB, free: 140.1 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.187e-05/1.083, allocations: 320.3 kB / 0.7824 GB, free: 139.8 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/1.083, allocations: 89.72 kB / 0.7825 GB, free: 139.8 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002923/1.083, allocations: 146.1 kB / 0.7827 GB, free: 139.7 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003054/1.083, allocations: 111.4 kB / 0.7828 GB, free: 139.7 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/1.083, allocations: 1.094 kB / 0.7828 GB, free: 139.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007444/1.084, allocations: 256.6 kB / 0.783 GB, free: 139.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001706/1.084, allocations: 0.7038 MB / 0.7837 GB, free: 138.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/1.084, allocations: 1.625 kB / 0.7837 GB, free: 138.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.105e-05/1.084, allocations: 7.25 kB / 0.7837 GB, free: 138.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005931/1.085, allocations: 58.66 kB / 0.7838 GB, free: 138.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/1.085, allocations: 6.984 kB / 0.7838 GB, free: 138.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003656/1.085, allocations: 30.94 kB / 0.7838 GB, free: 138.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.725e-05/1.085, allocations: 10.89 kB / 0.7838 GB, free: 138.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/1.085, allocations: 5.656 kB / 0.7838 GB, free: 138.9 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006053/1.086, allocations: 190.2 kB / 0.784 GB, free: 138.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/1.086, allocations: 2.062 kB / 0.784 GB, free: 138.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/1.086, allocations: 3.344 kB / 0.784 GB, free: 138.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004346/1.087, allocations: 55.53 kB / 0.7841 GB, free: 138.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/1.087, allocations: 6.375 kB / 0.7841 GB, free: 138.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002792/1.087, allocations: 25.77 kB / 0.7841 GB, free: 138.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/1.087, allocations: 7.125 kB / 0.7841 GB, free: 138.9 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001147/1.087, allocations: 113 kB / 0.7842 GB, free: 138.8 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005832/1.088, allocations: 217.3 kB / 0.7844 GB, free: 138.7 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.237e-05/1.088, allocations: 14.78 kB / 0.7844 GB, free: 138.7 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000597/1.088, allocations: 226.8 kB / 0.7847 GB, free: 138.7 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/1.088, allocations: 3.547 kB / 0.7847 GB, free: 138.7 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/1.088, allocations: 5.328 kB / 0.7847 GB, free: 138.7 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/1.088, allocations: 0.8438 kB / 0.7847 GB, free: 138.7 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/1.09, allocations: 0.6043 MB / 0.7853 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/1.09, allocations: 2.656 kB / 0.7853 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004449/1.09, allocations: 44.09 kB / 0.7853 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.848e-06/1.09, allocations: 3.203 kB / 0.7853 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/1.09, allocations: 6.422 kB / 0.7853 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/1.09, allocations: 8.969 kB / 0.7853 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/1.09, allocations: 1.344 kB / 0.7853 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005911/1.091, allocations: 469.1 kB / 0.7858 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/1.091, allocations: 115.5 kB / 0.7859 GB, free: 138 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.303e-05/1.091, allocations: 4.844 kB / 0.7859 GB, free: 138 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003419/1.091, allocations: 18.95 kB / 0.7859 GB, free: 138 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.387e-05/1.092, allocations: 22.3 kB / 0.7859 GB, free: 137.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/1.092, allocations: 8.094 kB / 0.7859 GB, free: 137.9 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001204/1.092, allocations: 123.8 kB / 0.786 GB, free: 137.9 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.6e-07/1.092, allocations: 0 / 0.786 GB, free: 137.9 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007336/1.092, allocations: 88.84 kB / 0.7861 GB, free: 137.8 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008602/1.093, allocations: 1.35 MB / 0.7874 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008098/1.094, allocations: 317.3 kB / 0.7877 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/1.094, allocations: 0 / 0.7877 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002401/1.094, allocations: 95.28 kB / 0.7878 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005046/1.095, allocations: 36.59 kB / 0.7879 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/1.096, allocations: 380.6 kB / 0.7882 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/1.096, allocations: 0.7514 MB / 0.789 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004204/1.097, allocations: 79.17 kB / 0.789 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001591/1.097, allocations: 49.89 kB / 0.7891 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of SimCode: time 9.42e-07/1.097, allocations: 0 / 0.7891 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04316/1.14, allocations: 3.557 MB / 0.7926 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002159/1.14, allocations: 154.8 kB / 0.7927 GB, free: 135.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.5/3.641, allocations: 0 / 0.7927 GB, free: 135.4 MB / 0.6511 GB