Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.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.ParallelLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001391/0.001391, allocations: 195.8 kB / 16.26 MB, free: 6.625 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.45/1.45, allocations: 222.9 MB / 239.9 MB, free: 4.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002622/0.002622, allocations: 286.8 kB / 290.4 MB, free: 2.082 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.103/1.103, allocations: 178.6 MB / 0.5069 GB, free: 4.738 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002863/0.002863, allocations: 98.78 kB / 0.6059 GB, free: 24.82 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1576, allocations: 89.15 MB / 0.693 GB, free: 4.711 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.006237/0.1639, allocations: 4.234 MB / 0.6971 GB, free: 484 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004756/0.1687, allocations: 2.781 MB / 0.6998 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002133/0.1689, allocations: 7.938 kB / 0.6998 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00115/0.1701, allocations: 346.7 kB / 0.7002 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008747/0.171, allocations: 374.5 kB / 0.7005 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.1722, allocations: 489.8 kB / 0.701 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0008458/0.173, allocations: 0.697 MB / 0.7017 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000652/0.1737, allocations: 391.2 kB / 0.7021 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004054/0.1741, allocations: 267.1 kB / 0.7023 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005511/0.1747, allocations: 350.8 kB / 0.7026 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.101e-05/0.1748, allocations: 40 kB / 0.7027 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005852/0.1753, allocations: 339.2 kB / 0.703 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002127/0.1756, allocations: 199.5 kB / 0.7032 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002571/0.1758, allocations: 250.7 kB / 0.7034 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008695/0.1767, allocations: 0.7592 MB / 0.7042 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1767, allocations: 0 / 0.7042 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1767, allocations: 0 / 0.7042 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.288e-05/0.1768, allocations: 0 / 0.7042 GB, free: 9.223 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001498/0.1783, allocations: 0.8184 MB / 0.705 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.1783, allocations: 8.031 kB / 0.705 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001373/0.1797, allocations: 192 kB / 0.7052 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005138/0.1802, allocations: 355.1 kB / 0.7055 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.441e-05/0.1803, allocations: 41.3 kB / 0.7055 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.1804, allocations: 44.36 kB / 0.7056 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/0.1819, allocations: 0.8448 MB / 0.7064 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.876e-05/0.1819, allocations: 4 kB / 0.7064 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.086e-05/0.182, allocations: 23.94 kB / 0.7064 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.931e-05/0.1821, allocations: 64.61 kB / 0.7065 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001421/0.1835, allocations: 0.6619 MB / 0.7071 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004888/0.1884, allocations: 4.678 MB / 0.7117 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/0.1896, allocations: 0.4985 MB / 0.7122 GB, free: 468 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005736/0.1902, allocations: 281.5 kB / 0.7125 GB, free: 180 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.777e-05/0.1903, allocations: 11.98 kB / 0.7125 GB, free: 168 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.1903, allocations: 34.56 kB / 0.7125 GB, free: 124 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.305e-06/0.1903, allocations: 0 / 0.7125 GB, free: 124 kB / 0.4981 GB Notification: Performance of matching and sorting (n=34): time 0.002076/0.1924, allocations: 0.883 MB / 0.7134 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.797e-05/0.1925, allocations: 85.09 kB / 0.7135 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004814/0.193, allocations: 377.4 kB / 0.7138 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.799e-05/0.193, allocations: 33.7 kB / 0.7139 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002183/0.1933, allocations: 283.1 kB / 0.7141 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/0.1934, allocations: 122.3 kB / 0.7142 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/0.1936, allocations: 118 kB / 0.7144 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001779/0.1938, allocations: 350.8 kB / 0.7147 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005947/0.1944, allocations: 270.9 kB / 0.7149 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007752/0.1952, allocations: 486.5 kB / 0.7154 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001349/0.1965, allocations: 0.7656 MB / 0.7162 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.1966, allocations: 0 / 0.7162 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00166/0.1982, allocations: 0.7899 MB / 0.7169 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.1983, allocations: 8 kB / 0.7169 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.1983, allocations: 8 kB / 0.7169 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.1983, allocations: 8 kB / 0.717 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007806/0.1991, allocations: 167.7 kB / 0.7171 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.038e-05/0.1991, allocations: 16.42 kB / 0.7171 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005971/0.1997, allocations: 75.77 kB / 0.7172 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.197e-05/0.1998, allocations: 31.94 kB / 0.7172 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006785/0.2005, allocations: 361 kB / 0.7176 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007004/0.2012, allocations: 454 kB / 0.718 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001186/0.2024, allocations: 0.675 MB / 0.7187 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.055e-06/0.2024, allocations: 0 / 0.7187 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001415/0.2038, allocations: 0.6905 MB / 0.7193 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.2038, allocations: 8 kB / 0.7193 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.2038, allocations: 8 kB / 0.7194 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.2039, allocations: 8 kB / 0.7194 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006259/0.2045, allocations: 155.6 kB / 0.7195 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.931e-05/0.2045, allocations: 24.28 kB / 0.7195 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005056/0.205, allocations: 63.78 kB / 0.7196 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.586e-05/0.2051, allocations: 28 kB / 0.7196 GB, free: 8.344 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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): 67 * 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.0002105/0.2053, allocations: 224.6 kB / 0.7198 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.2054, allocations: 39.53 kB / 0.7199 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0013/0.2067, allocations: 0.5873 MB / 0.7204 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.2067, allocations: 7.984 kB / 0.7205 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2068, allocations: 4 kB / 0.7205 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.2068, allocations: 0 / 0.7205 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002739/0.2095, allocations: 1.612 MB / 0.722 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.2095, allocations: 4 kB / 0.722 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005858/0.2101, allocations: 108.3 kB / 0.7221 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.792e-06/0.2101, allocations: 4 kB / 0.7221 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.492e-05/0.2102, allocations: 16 kB / 0.7222 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/0.2102, allocations: 7.984 kB / 0.7222 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.2102, allocations: 7.938 kB / 0.7222 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.2114, allocations: 0.7797 MB / 0.7229 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002129/0.2116, allocations: 168.4 kB / 0.7231 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.575e-05/0.2117, allocations: 15.94 kB / 0.7231 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004952/0.2122, allocations: 51.92 kB / 0.7232 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.912e-05/0.2123, allocations: 35.84 kB / 0.7232 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.047e-05/0.2123, allocations: 12 kB / 0.7232 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003788/0.2127, allocations: 271.1 kB / 0.7235 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.81e-07/0.2127, allocations: 4 kB / 0.7235 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008884/0.2136, allocations: 192 kB / 0.7237 GB, free: 4.027 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (35): * Single equations (assignments): 35 * 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.0001496/0.2138, allocations: 115.2 kB / 0.7238 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001991/0.2158, allocations: 0.9594 MB / 0.7247 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.2158, allocations: 0 / 0.7247 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005302/0.2163, allocations: 273.2 kB / 0.725 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008263/0.2172, allocations: 129 kB / 0.7251 GB, free: 2.57 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.219, allocations: 1.213 MB / 0.7263 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000561/0.2196, allocations: 0.8709 MB / 0.7271 GB, free: 388 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006682/0.2202, allocations: 212 kB / 0.7273 GB, free: 176 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001821/0.2204, allocations: 39.44 kB / 0.7274 GB, free: 140 kB / 0.5137 GB Notification: Performance of SimCode: time 4.71e-07/0.2204, allocations: 3.938 kB / 0.7274 GB, free: 136 kB / 0.5137 GB Notification: Performance of Templates: time 0.01238/0.2328, allocations: 6.393 MB / 0.7336 GB, free: 9.789 MB / 0.5294 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1)