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.001753/0.001753, 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.002003/0.002003, allocations: 198.8 kB / 16.14 MB, free: 6.641 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.429/1.429, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002633/0.002633, allocations: 282.9 kB / 290.2 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.088/1.088, allocations: 178.6 MB / 0.5068 GB, free: 4.801 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002746/0.002746, allocations: 97.19 kB / 0.6057 GB, free: 25.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.171, allocations: 89.15 MB / 0.6928 GB, free: 4.848 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.004311/0.1754, allocations: 2.683 MB / 0.6954 GB, free: 2.156 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002075/0.1775, allocations: 1.317 MB / 0.6967 GB, free: 0.832 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.611e-05/0.1776, allocations: 4 kB / 0.6967 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006142/0.1782, allocations: 166.2 kB / 0.6969 GB, free: 0.668 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003225/0.1785, allocations: 159.4 kB / 0.697 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003173/0.1788, allocations: 147.7 kB / 0.6972 GB, free: 376 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000406/0.1793, allocations: 371 kB / 0.6975 GB, free: 4 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003394/0.1796, allocations: 137.7 kB / 0.6976 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.1798, allocations: 87.69 kB / 0.6977 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002456/0.18, allocations: 139.4 kB / 0.6979 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.125e-05/0.1801, allocations: 16 kB / 0.6979 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002986/0.1804, allocations: 187.6 kB / 0.6981 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.193e-05/0.1805, allocations: 63.81 kB / 0.6981 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.1806, allocations: 87.52 kB / 0.6982 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003813/0.181, allocations: 295 kB / 0.6985 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.181, allocations: 0 / 0.6985 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.81e-07/0.181, allocations: 0 / 0.6985 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.181, allocations: 0 / 0.6985 GB, free: 15.01 MB / 0.4981 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.0008288/0.1818, allocations: 0.4989 MB / 0.699 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.1819, allocations: 12.03 kB / 0.699 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005117/0.1824, allocations: 64.67 kB / 0.699 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002962/0.1827, allocations: 239.9 kB / 0.6993 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.1827, allocations: 12.66 kB / 0.6993 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.019e-05/0.1828, allocations: 12.38 kB / 0.6993 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005839/0.1834, allocations: 312.8 kB / 0.6996 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1834, allocations: 0 / 0.6996 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.802e-05/0.1834, allocations: 8 kB / 0.6996 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.463e-05/0.1835, allocations: 20.27 kB / 0.6996 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005426/0.184, allocations: 260.6 kB / 0.6999 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001699/0.1857, allocations: 1.502 MB / 0.7013 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005349/0.1863, allocations: 265 kB / 0.7016 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002586/0.1865, allocations: 129.6 kB / 0.7017 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.1866, allocations: 4 kB / 0.7017 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.1866, allocations: 38.5 kB / 0.7018 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.302e-06/0.1866, allocations: 0 / 0.7018 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0008256/0.1875, allocations: 341.3 kB / 0.7021 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/0.1875, allocations: 81.11 kB / 0.7022 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.1877, allocations: 171.7 kB / 0.7023 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/0.1877, allocations: 33.7 kB / 0.7024 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.413e-05/0.1878, allocations: 140.1 kB / 0.7025 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.52e-05/0.1879, allocations: 55.2 kB / 0.7025 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.585e-05/0.188, allocations: 45.83 kB / 0.7026 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1881, allocations: 330.8 kB / 0.7029 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002423/0.1884, allocations: 112.6 kB / 0.703 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002693/0.1887, allocations: 161.1 kB / 0.7032 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005114/0.1892, allocations: 285.2 kB / 0.7034 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1892, allocations: 0 / 0.7034 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006126/0.1898, allocations: 309.1 kB / 0.7037 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.1898, allocations: 8.156 kB / 0.7037 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1899, allocations: 11.98 kB / 0.7037 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1899, allocations: 4 kB / 0.7037 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000297/0.1902, allocations: 55.89 kB / 0.7038 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.1902, allocations: 3.984 kB / 0.7038 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000208/0.1904, allocations: 31.83 kB / 0.7038 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.1904, allocations: 7.984 kB / 0.7038 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002873/0.1907, allocations: 196 kB / 0.704 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002463/0.191, allocations: 154.3 kB / 0.7042 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004365/0.1914, allocations: 249.4 kB / 0.7044 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.452e-06/0.1914, allocations: 0 / 0.7044 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005385/0.192, allocations: 281.1 kB / 0.7047 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.965e-06/0.192, allocations: 8 kB / 0.7047 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.192, allocations: 4 kB / 0.7047 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-06/0.192, allocations: 0 / 0.7047 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.1923, allocations: 55.89 kB / 0.7047 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.1923, allocations: 0 / 0.7047 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.1925, allocations: 36.06 kB / 0.7048 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.1925, allocations: 15.88 kB / 0.7048 GB, free: 8.062 MB / 0.4981 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 () * 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.0001235/0.1926, allocations: 193.9 kB / 0.705 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.311e-05/0.1927, allocations: 15.81 kB / 0.705 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005719/0.1933, allocations: 276.6 kB / 0.7053 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1933, allocations: 0 / 0.7053 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1933, allocations: 4 kB / 0.7053 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1933, allocations: 0 / 0.7053 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.1944, allocations: 0.6771 MB / 0.7059 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1944, allocations: 0 / 0.7059 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002467/0.1947, allocations: 48.08 kB / 0.706 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.1947, allocations: 4 kB / 0.706 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.1947, allocations: 7.938 kB / 0.706 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.174e-06/0.1947, allocations: 11.94 kB / 0.706 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1947, allocations: 0 / 0.706 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005943/0.1953, allocations: 449.9 kB / 0.7064 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.1954, allocations: 112.8 kB / 0.7065 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.75e-05/0.1955, allocations: 15.92 kB / 0.7065 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.1957, allocations: 11.98 kB / 0.7066 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.987e-05/0.1958, allocations: 19.92 kB / 0.7066 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.1958, allocations: 11.98 kB / 0.7066 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00011/0.1959, allocations: 127.2 kB / 0.7067 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1959, allocations: 0 / 0.7067 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000473/0.1964, allocations: 83.84 kB / 0.7068 GB, free: 5.895 MB / 0.4981 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 () * 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.0001178/0.1965, allocations: 103.2 kB / 0.7069 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007645/0.1973, allocations: 377 kB / 0.7072 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1973, allocations: 0 / 0.7072 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002384/0.1975, allocations: 115.8 kB / 0.7074 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004665/0.198, allocations: 41.3 kB / 0.7074 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008272/0.1989, allocations: 0.5022 MB / 0.7079 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/0.1993, allocations: 0.7519 MB / 0.7086 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002101/0.1995, allocations: 73.47 kB / 0.7087 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.63e-05/0.1996, allocations: 19.42 kB / 0.7087 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.1996, allocations: 0 / 0.7087 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of Templates: time 0.005344/0.2049, allocations: 2.176 MB / 0.7108 GB, free: 1.703 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)