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.001612/0.001611, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001723/0.001723, allocations: 189.6 kB / 16.25 MB, free: 6.633 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.317/1.317, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002342/0.002342, allocations: 294.5 kB / 290.4 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9552/0.9552, allocations: 169.2 MB / 0.4978 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00165/0.00165, allocations: 95.95 kB / 0.5947 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1505, allocations: 86.98 MB / 0.6796 GB, free: 1.062 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.005446/0.156, allocations: 4.228 MB / 0.6838 GB, free: 12.83 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003881/0.1599, allocations: 2.617 MB / 0.6863 GB, free: 10.21 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000233/0.1602, allocations: 8.562 kB / 0.6863 GB, free: 10.2 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001067/0.1613, allocations: 340.1 kB / 0.6867 GB, free: 9.867 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007593/0.162, allocations: 363.3 kB / 0.687 GB, free: 9.512 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.1631, allocations: 482 kB / 0.6875 GB, free: 9.043 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006808/0.1638, allocations: 0.7009 MB / 0.6881 GB, free: 8.34 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005451/0.1644, allocations: 387.3 kB / 0.6885 GB, free: 7.961 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002947/0.1647, allocations: 271 kB / 0.6888 GB, free: 7.695 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004684/0.1652, allocations: 354.8 kB / 0.6891 GB, free: 7.348 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.2e-05/0.1652, allocations: 36 kB / 0.6891 GB, free: 7.312 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004407/0.1657, allocations: 315.3 kB / 0.6894 GB, free: 7.004 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001681/0.1658, allocations: 195.5 kB / 0.6896 GB, free: 6.812 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002149/0.1661, allocations: 254.7 kB / 0.6899 GB, free: 6.562 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007063/0.1668, allocations: 0.7359 MB / 0.6906 GB, free: 5.824 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1668, allocations: 3.938 kB / 0.6906 GB, free: 5.82 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1668, allocations: 0 / 0.6906 GB, free: 5.82 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.1668, allocations: 4 kB / 0.6906 GB, free: 5.816 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001353/0.1682, allocations: 0.7951 MB / 0.6914 GB, free: 4.973 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.1682, allocations: 12.03 kB / 0.6914 GB, free: 4.961 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008573/0.1691, allocations: 144.1 kB / 0.6915 GB, free: 4.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004145/0.1695, allocations: 355.1 kB / 0.6919 GB, free: 4.434 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.188e-05/0.1696, allocations: 37.36 kB / 0.6919 GB, free: 4.395 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.923e-05/0.1696, allocations: 48.3 kB / 0.6919 GB, free: 4.348 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.1708, allocations: 0.8254 MB / 0.6928 GB, free: 3.43 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.1708, allocations: 7.938 kB / 0.6928 GB, free: 3.422 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.143e-05/0.1709, allocations: 12 kB / 0.6928 GB, free: 3.41 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.863e-05/0.171, allocations: 64.61 kB / 0.6928 GB, free: 3.348 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.1721, allocations: 0.6384 MB / 0.6935 GB, free: 2.711 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003686/0.1758, allocations: 4.643 MB / 0.698 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009479/0.1767, allocations: 491.2 kB / 0.6985 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004606/0.1772, allocations: 281.5 kB / 0.6987 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.1772, allocations: 3.984 kB / 0.6987 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.1773, allocations: 42.56 kB / 0.6988 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.104e-06/0.1773, allocations: 0 / 0.6988 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34): time 0.001679/0.179, allocations: 0.8587 MB / 0.6996 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.179, allocations: 81.11 kB / 0.6997 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003381/0.1794, allocations: 373.6 kB / 0.7 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.571e-05/0.1794, allocations: 29.7 kB / 0.7001 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.1796, allocations: 287 kB / 0.7003 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.711e-05/0.1797, allocations: 118.3 kB / 0.7005 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001627/0.1799, allocations: 110.1 kB / 0.7006 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.18, allocations: 350.7 kB / 0.7009 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004723/0.1805, allocations: 266.8 kB / 0.7012 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005913/0.1811, allocations: 466.6 kB / 0.7016 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.1821, allocations: 0.7582 MB / 0.7023 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.1822, allocations: 4 kB / 0.7023 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001313/0.1835, allocations: 0.7623 MB / 0.7031 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.1835, allocations: 8.156 kB / 0.7031 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.1835, allocations: 12 kB / 0.7031 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.661e-05/0.1836, allocations: 12 kB / 0.7031 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006613/0.1842, allocations: 155.8 kB / 0.7033 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.637e-05/0.1843, allocations: 15.92 kB / 0.7033 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004633/0.1847, allocations: 67.69 kB / 0.7033 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.327e-05/0.1848, allocations: 31.97 kB / 0.7034 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005119/0.1853, allocations: 357.7 kB / 0.7037 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005055/0.1858, allocations: 433.4 kB / 0.7041 GB, free: 7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008982/0.1867, allocations: 0.6731 MB / 0.7048 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.24e-06/0.1867, allocations: 4 kB / 0.7048 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.00112/0.1879, allocations: 0.6583 MB / 0.7054 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.1879, allocations: 8 kB / 0.7054 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.1879, allocations: 8 kB / 0.7055 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.1879, allocations: 12.78 kB / 0.7055 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000527/0.1885, allocations: 151.7 kB / 0.7056 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/0.1885, allocations: 15.94 kB / 0.7056 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003876/0.1889, allocations: 59.64 kB / 0.7057 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.879e-05/0.1889, allocations: 28 kB / 0.7057 GB, free: 5.277 MB / 0.4981 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.0001696/0.1891, allocations: 220.7 kB / 0.7059 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.606e-05/0.1892, allocations: 39.53 kB / 0.706 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/0.1903, allocations: 0.5726 MB / 0.7065 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.1903, allocations: 7.938 kB / 0.7065 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.1903, allocations: 0 / 0.7065 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.1903, allocations: 0 / 0.7065 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002406/0.1927, allocations: 1.611 MB / 0.7081 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.1927, allocations: 4.094 kB / 0.7081 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000549/0.1933, allocations: 107.8 kB / 0.7082 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.345e-06/0.1933, allocations: 11.97 kB / 0.7082 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.198e-05/0.1933, allocations: 12 kB / 0.7082 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.942e-06/0.1934, allocations: 4.469 kB / 0.7082 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/0.1934, allocations: 15.88 kB / 0.7082 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.1944, allocations: 0.7876 MB / 0.709 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001712/0.1946, allocations: 156.5 kB / 0.7092 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.713e-05/0.1946, allocations: 15.94 kB / 0.7092 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004179/0.1951, allocations: 51.92 kB / 0.7092 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.155e-05/0.1952, allocations: 35.84 kB / 0.7093 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.761e-05/0.1952, allocations: 12 kB / 0.7093 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002447/0.1955, allocations: 255.2 kB / 0.7095 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1955, allocations: 0 / 0.7095 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008127/0.1963, allocations: 188 kB / 0.7097 GB, free: 1 MB / 0.4981 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.0001263/0.1964, allocations: 115.4 kB / 0.7098 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001636/0.1981, allocations: 0.9361 MB / 0.7107 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.1981, allocations: 0 / 0.7107 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004884/0.1986, allocations: 276.3 kB / 0.711 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007908/0.1994, allocations: 127.8 kB / 0.7111 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.201, allocations: 1.206 MB / 0.7123 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004067/0.2014, allocations: 0.867 MB / 0.7131 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005445/0.2019, allocations: 196 kB / 0.7133 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001619/0.2021, allocations: 39.42 kB / 0.7134 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of SimCode: time 4.11e-07/0.2021, allocations: 4 kB / 0.7134 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of Templates: time 0.01039/0.2125, allocations: 5.994 MB / 0.7192 GB, free: 7.191 MB / 0.5137 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)