Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001608/0.001609, allocations: 196.2 kB / 16.14 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003317/0.003317, allocations: 290.7 kB / 290.2 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9855/0.9855, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001677/0.001677, allocations: 87.53 kB / 0.5945 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1679, allocations: 86.99 MB / 0.6794 GB, free: 1.199 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.005399/0.1733, allocations: 2.689 MB / 0.6821 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002868/0.1763, allocations: 1.314 MB / 0.6834 GB, free: 13.19 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001444/0.1764, allocations: 7.938 kB / 0.6834 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008511/0.1773, allocations: 164.2 kB / 0.6835 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005517/0.1779, allocations: 160.8 kB / 0.6837 GB, free: 12.87 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000525/0.1785, allocations: 147.8 kB / 0.6838 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005219/0.179, allocations: 367 kB / 0.6842 GB, free: 12.37 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004449/0.1794, allocations: 138.6 kB / 0.6843 GB, free: 12.23 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001971/0.1797, allocations: 91.62 kB / 0.6844 GB, free: 12.14 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003245/0.18, allocations: 139.5 kB / 0.6845 GB, free: 12.01 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.616e-05/0.18, allocations: 8 kB / 0.6845 GB, free: 12 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004057/0.1805, allocations: 187.6 kB / 0.6847 GB, free: 11.82 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.1806, allocations: 63.8 kB / 0.6848 GB, free: 11.75 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.1807, allocations: 91.53 kB / 0.6848 GB, free: 11.66 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004738/0.1812, allocations: 295.1 kB / 0.6851 GB, free: 11.38 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.309e-06/0.1812, allocations: 3.938 kB / 0.6851 GB, free: 11.37 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1813, allocations: 0 / 0.6851 GB, free: 11.37 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.1813, allocations: 0 / 0.6851 GB, free: 11.37 MB / 494.1 MB 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.001117/0.1824, allocations: 495 kB / 0.6856 GB, free: 10.84 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.1824, allocations: 8.031 kB / 0.6856 GB, free: 10.83 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007369/0.1832, allocations: 72.58 kB / 0.6857 GB, free: 10.76 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003486/0.1836, allocations: 247.9 kB / 0.6859 GB, free: 10.48 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.1836, allocations: 8.656 kB / 0.6859 GB, free: 10.47 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.073e-05/0.1836, allocations: 12.38 kB / 0.6859 GB, free: 10.46 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007215/0.1844, allocations: 304.9 kB / 0.6862 GB, free: 10.13 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.1844, allocations: 11.94 kB / 0.6862 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.609e-05/0.1845, allocations: 7.984 kB / 0.6862 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.759e-05/0.1845, allocations: 24.27 kB / 0.6863 GB, free: 10.09 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007404/0.1853, allocations: 256.6 kB / 0.6865 GB, free: 9.84 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002243/0.1875, allocations: 1.502 MB / 0.688 GB, free: 8.191 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000727/0.1883, allocations: 257 kB / 0.6882 GB, free: 7.922 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003498/0.1887, allocations: 133.6 kB / 0.6884 GB, free: 7.785 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/0.1887, allocations: 3.984 kB / 0.6884 GB, free: 7.781 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.1887, allocations: 38.56 kB / 0.6884 GB, free: 7.734 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 4.449e-06/0.1887, allocations: 0 / 0.6884 GB, free: 7.734 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.001282/0.19, allocations: 347.1 kB / 0.6887 GB, free: 7.391 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.472e-05/0.1901, allocations: 85.05 kB / 0.6888 GB, free: 7.289 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/0.1904, allocations: 166.7 kB / 0.689 GB, free: 7.117 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.609e-05/0.1904, allocations: 29.7 kB / 0.689 GB, free: 7.082 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.1906, allocations: 144 kB / 0.6891 GB, free: 6.938 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.51e-05/0.1907, allocations: 51.2 kB / 0.6892 GB, free: 6.887 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.1908, allocations: 45.7 kB / 0.6892 GB, free: 6.836 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.191, allocations: 330.8 kB / 0.6895 GB, free: 6.504 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004048/0.1914, allocations: 112.8 kB / 0.6896 GB, free: 6.391 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004488/0.1919, allocations: 165.3 kB / 0.6898 GB, free: 6.203 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008219/0.1927, allocations: 281.1 kB / 0.6901 GB, free: 5.906 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.1927, allocations: 0 / 0.6901 GB, free: 5.906 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001074/0.1938, allocations: 313.1 kB / 0.6904 GB, free: 5.594 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.1939, allocations: 4 kB / 0.6904 GB, free: 5.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.1939, allocations: 7.984 kB / 0.6904 GB, free: 5.582 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.1939, allocations: 0 / 0.6904 GB, free: 5.582 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005491/0.1945, allocations: 56.17 kB / 0.6904 GB, free: 5.527 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.371e-05/0.1945, allocations: 7.938 kB / 0.6904 GB, free: 5.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00037/0.1949, allocations: 31.81 kB / 0.6905 GB, free: 5.488 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.414e-05/0.195, allocations: 11.94 kB / 0.6905 GB, free: 5.477 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004941/0.1955, allocations: 196.7 kB / 0.6907 GB, free: 5.281 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004206/0.1959, allocations: 154.3 kB / 0.6908 GB, free: 5.102 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007699/0.1967, allocations: 249.8 kB / 0.6911 GB, free: 4.832 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.611e-06/0.1967, allocations: 4 kB / 0.6911 GB, free: 4.828 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0009627/0.1977, allocations: 277.2 kB / 0.6913 GB, free: 4.551 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.1977, allocations: 11.98 kB / 0.6913 GB, free: 4.539 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1977, allocations: 0 / 0.6913 GB, free: 4.539 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/0.1978, allocations: 4 kB / 0.6913 GB, free: 4.535 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00038/0.1981, allocations: 51.91 kB / 0.6914 GB, free: 4.484 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.1982, allocations: 4 kB / 0.6914 GB, free: 4.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003122/0.1985, allocations: 31.81 kB / 0.6914 GB, free: 4.449 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/0.1985, allocations: 12.16 kB / 0.6914 GB, free: 4.438 MB / 494.1 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000181/0.1987, allocations: 201.9 kB / 0.6916 GB, free: 4.234 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.1989, allocations: 15.81 kB / 0.6916 GB, free: 4.219 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009557/0.1998, allocations: 272.7 kB / 0.6919 GB, free: 3.949 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.447e-06/0.1998, allocations: 4 kB / 0.6919 GB, free: 3.945 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1999, allocations: 0 / 0.6919 GB, free: 3.945 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.1999, allocations: 0 / 0.6919 GB, free: 3.945 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001887/0.2018, allocations: 0.6771 MB / 0.6926 GB, free: 3.199 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/0.2018, allocations: 4 kB / 0.6926 GB, free: 3.195 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004667/0.2023, allocations: 43.95 kB / 0.6926 GB, free: 3.152 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.2023, allocations: 0 / 0.6926 GB, free: 3.152 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.018e-05/0.2023, allocations: 12.06 kB / 0.6926 GB, free: 3.141 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.2024, allocations: 4 kB / 0.6926 GB, free: 3.137 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.979e-06/0.2024, allocations: 7.938 kB / 0.6926 GB, free: 3.129 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009835/0.2034, allocations: 449.9 kB / 0.6931 GB, free: 2.66 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001586/0.2036, allocations: 116.8 kB / 0.6932 GB, free: 2.527 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.843e-05/0.2036, allocations: 7.938 kB / 0.6932 GB, free: 2.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003947/0.204, allocations: 19.97 kB / 0.6932 GB, free: 2.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.69e-05/0.2041, allocations: 15.92 kB / 0.6932 GB, free: 2.484 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.401e-05/0.2042, allocations: 4 kB / 0.6932 GB, free: 2.48 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001874/0.2044, allocations: 139.8 kB / 0.6934 GB, free: 2.344 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.2044, allocations: 0 / 0.6934 GB, free: 2.344 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000892/0.2053, allocations: 79.84 kB / 0.6934 GB, free: 2.266 MB / 494.1 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001566/0.2055, allocations: 103.2 kB / 0.6935 GB, free: 2.156 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001353/0.2068, allocations: 378.2 kB / 0.6939 GB, free: 1.789 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.2069, allocations: 4 kB / 0.6939 GB, free: 1.785 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003982/0.2073, allocations: 107.9 kB / 0.694 GB, free: 1.68 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008424/0.2081, allocations: 47.84 kB / 0.694 GB, free: 1.633 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.2094, allocations: 0.5031 MB / 0.6945 GB, free: 1.09 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004675/0.2099, allocations: 0.7518 MB / 0.6953 GB, free: 320 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003784/0.2103, allocations: 81.45 kB / 0.6954 GB, free: 236 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.2105, allocations: 15.44 kB / 0.6954 GB, free: 220 kB / 494.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2105, allocations: 0 / 0.6954 GB, free: 220 kB / 494.1 MB Notification: Performance of Templates: time 0.008853/0.2193, allocations: 2.173 MB / 0.6975 GB, free: 14.06 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)