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.001126/0.001126, 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.001197/0.001197, allocations: 195.5 kB / 16.14 MB, free: 6.66 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.306/1.306, allocations: 222.9 MB / 239.8 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002012/0.002012, allocations: 287.1 kB / 290.2 MB, free: 2.102 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9125/0.9125, allocations: 169.2 MB / 0.4977 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 96.06 kB / 0.5945 GB, free: 28.46 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1558, allocations: 86.99 MB / 0.6794 GB, free: 1.16 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.005301/0.1612, allocations: 4.227 MB / 0.6836 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003793/0.165, allocations: 2.656 MB / 0.6862 GB, free: 10.26 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.1651, allocations: 7.938 kB / 0.6862 GB, free: 10.25 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009439/0.1661, allocations: 334.7 kB / 0.6865 GB, free: 9.926 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006543/0.1668, allocations: 370.6 kB / 0.6868 GB, free: 9.562 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009365/0.1677, allocations: 477.8 kB / 0.6873 GB, free: 9.098 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008718/0.1686, allocations: 0.9934 MB / 0.6883 GB, free: 8.102 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005435/0.1692, allocations: 336.3 kB / 0.6886 GB, free: 7.773 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003058/0.1695, allocations: 235 kB / 0.6888 GB, free: 7.543 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004992/0.17, allocations: 350.8 kB / 0.6892 GB, free: 7.199 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.172e-05/0.1701, allocations: 24 kB / 0.6892 GB, free: 7.176 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005383/0.1706, allocations: 399.1 kB / 0.6896 GB, free: 6.785 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001592/0.1708, allocations: 183.5 kB / 0.6897 GB, free: 6.605 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002195/0.171, allocations: 238.7 kB / 0.69 GB, free: 6.371 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007049/0.1717, allocations: 0.7203 MB / 0.6907 GB, free: 5.648 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1717, allocations: 0 / 0.6907 GB, free: 5.648 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1717, allocations: 0 / 0.6907 GB, free: 5.648 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.1717, allocations: 3.938 kB / 0.6907 GB, free: 5.645 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.001395/0.1731, allocations: 0.8004 MB / 0.6914 GB, free: 4.793 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1732, allocations: 12.03 kB / 0.6915 GB, free: 4.781 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008732/0.1741, allocations: 144.1 kB / 0.6916 GB, free: 4.641 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004567/0.1745, allocations: 363.1 kB / 0.6919 GB, free: 4.246 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.758e-05/0.1746, allocations: 25.38 kB / 0.692 GB, free: 4.223 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.466e-05/0.1746, allocations: 48.3 kB / 0.692 GB, free: 4.176 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.1758, allocations: 0.8292 MB / 0.6928 GB, free: 3.25 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.1758, allocations: 0 / 0.6928 GB, free: 3.25 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.157e-05/0.1759, allocations: 23.98 kB / 0.6928 GB, free: 3.227 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.004e-05/0.1759, allocations: 64.61 kB / 0.6929 GB, free: 3.164 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.177, allocations: 0.6423 MB / 0.6935 GB, free: 2.523 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003728/0.1808, allocations: 4.627 MB / 0.6981 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009001/0.1817, allocations: 493 kB / 0.6985 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004554/0.1822, allocations: 277.5 kB / 0.6988 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.1822, allocations: 7.984 kB / 0.6988 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.1822, allocations: 38.56 kB / 0.6988 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.423e-06/0.1822, allocations: 0 / 0.6988 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34): time 0.001653/0.1839, allocations: 0.8587 MB / 0.6997 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.1839, allocations: 81.11 kB / 0.6997 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003503/0.1843, allocations: 365.4 kB / 0.7001 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/0.1843, allocations: 33.89 kB / 0.7001 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.1845, allocations: 295 kB / 0.7004 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.901e-05/0.1846, allocations: 122.3 kB / 0.7005 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/0.1848, allocations: 114.1 kB / 0.7006 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.1849, allocations: 350.7 kB / 0.701 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004678/0.1854, allocations: 258.9 kB / 0.7012 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005819/0.186, allocations: 470.6 kB / 0.7017 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.1871, allocations: 0.7504 MB / 0.7024 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.1871, allocations: 8 kB / 0.7024 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0013/0.1884, allocations: 0.7617 MB / 0.7032 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.1884, allocations: 12.81 kB / 0.7032 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.1884, allocations: 8 kB / 0.7032 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.1885, allocations: 12 kB / 0.7032 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006624/0.1891, allocations: 163.7 kB / 0.7033 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/0.1892, allocations: 15.94 kB / 0.7034 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004452/0.1896, allocations: 71.67 kB / 0.7034 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.424e-05/0.1897, allocations: 27.98 kB / 0.7034 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005218/0.1902, allocations: 349.7 kB / 0.7038 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005321/0.1907, allocations: 441.2 kB / 0.7042 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009199/0.1917, allocations: 0.6692 MB / 0.7049 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.458e-06/0.1917, allocations: 4 kB / 0.7049 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001139/0.1928, allocations: 0.6625 MB / 0.7055 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.1928, allocations: 8 kB / 0.7055 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.1929, allocations: 8 kB / 0.7055 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.1929, allocations: 12 kB / 0.7055 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005139/0.1934, allocations: 143.7 kB / 0.7057 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.1934, allocations: 20.45 kB / 0.7057 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003633/0.1938, allocations: 67.64 kB / 0.7058 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.475e-05/0.1938, allocations: 24 kB / 0.7058 GB, free: 5.094 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.0001632/0.194, allocations: 220 kB / 0.706 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.168e-05/0.1941, allocations: 39.53 kB / 0.706 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/0.1952, allocations: 0.5611 MB / 0.7066 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.1952, allocations: 4 kB / 0.7066 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.1952, allocations: 4 kB / 0.7066 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.1952, allocations: 7.922 kB / 0.7066 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002407/0.1976, allocations: 1.602 MB / 0.7082 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.1976, allocations: 4 kB / 0.7082 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005479/0.1982, allocations: 115.8 kB / 0.7083 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.1982, allocations: 4 kB / 0.7083 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.364e-05/0.1982, allocations: 19.94 kB / 0.7083 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.1983, allocations: 4 kB / 0.7083 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.1983, allocations: 7.938 kB / 0.7083 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.1993, allocations: 0.7857 MB / 0.7091 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001744/0.1995, allocations: 168.5 kB / 0.7092 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.47e-05/0.1996, allocations: 15.94 kB / 0.7092 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004033/0.2, allocations: 39.94 kB / 0.7093 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.664e-05/0.2001, allocations: 39.84 kB / 0.7093 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/0.2001, allocations: 20 kB / 0.7093 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002523/0.2003, allocations: 255.1 kB / 0.7096 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2004, allocations: 0 / 0.7096 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007683/0.2011, allocations: 192 kB / 0.7098 GB, free: 0.8164 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.0001198/0.2013, allocations: 108.1 kB / 0.7099 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001517/0.2028, allocations: 0.9078 MB / 0.7108 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.2028, allocations: 4 kB / 0.7108 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004832/0.2033, allocations: 277.7 kB / 0.711 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007704/0.2041, allocations: 112.1 kB / 0.7111 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.2056, allocations: 1.203 MB / 0.7123 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004053/0.206, allocations: 0.8673 MB / 0.7132 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005462/0.2066, allocations: 200 kB / 0.7133 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001638/0.2067, allocations: 43.38 kB / 0.7134 GB, free: 13 MB / 0.5137 GB Notification: Performance of SimCode: time 3.2e-07/0.2067, allocations: 3.938 kB / 0.7134 GB, free: 13 MB / 0.5137 GB Notification: Performance of Templates: time 0.009378/0.2161, allocations: 5.742 MB / 0.719 GB, free: 7.305 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)