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.001029/0.001029, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005327/0.005327, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.291/1.291, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001763/0.001763, allocations: 266 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9443/0.9443, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004234/0.0004234, allocations: 12.69 kB / 0.5987 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1479, allocations: 88.55 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.004184/0.1521, allocations: 3.845 MB / 0.6889 GB, free: 11.19 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003786/0.1559, allocations: 2.616 MB / 0.6914 GB, free: 8.574 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001894/0.1561, allocations: 11.94 kB / 0.6915 GB, free: 8.562 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002085/0.1564, allocations: 67.42 kB / 0.6915 GB, free: 8.496 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007175/0.1571, allocations: 357.8 kB / 0.6919 GB, free: 8.148 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009545/0.1581, allocations: 482.4 kB / 0.6923 GB, free: 7.684 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008909/0.159, allocations: 0.9823 MB / 0.6933 GB, free: 6.699 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007977/0.1598, allocations: 0.5476 MB / 0.6938 GB, free: 6.125 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002801/0.1601, allocations: 219 kB / 0.694 GB, free: 5.91 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004535/0.1605, allocations: 326.8 kB / 0.6943 GB, free: 5.59 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.394e-05/0.1606, allocations: 16 kB / 0.6943 GB, free: 5.574 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005257/0.1611, allocations: 387.1 kB / 0.6947 GB, free: 5.195 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001705/0.1613, allocations: 175.5 kB / 0.6949 GB, free: 5.023 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002408/0.1615, allocations: 256.3 kB / 0.6951 GB, free: 4.766 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006786/0.1622, allocations: 0.7162 MB / 0.6958 GB, free: 4.047 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1622, allocations: 0 / 0.6958 GB, free: 4.047 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1622, allocations: 0 / 0.6958 GB, free: 4.047 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.655e-06/0.1623, allocations: 0 / 0.6958 GB, free: 4.047 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.001163/0.1634, allocations: 0.7211 MB / 0.6965 GB, free: 3.273 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.1635, allocations: 8.031 kB / 0.6965 GB, free: 3.266 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008465/0.1643, allocations: 152.1 kB / 0.6967 GB, free: 3.117 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004014/0.1647, allocations: 359 kB / 0.697 GB, free: 2.727 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.186e-05/0.1648, allocations: 33.36 kB / 0.6971 GB, free: 2.695 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.898e-05/0.1648, allocations: 44.38 kB / 0.6971 GB, free: 2.652 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.166, allocations: 0.8332 MB / 0.6979 GB, free: 1.723 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/0.1661, allocations: 7.938 kB / 0.6979 GB, free: 1.715 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.746e-05/0.1661, allocations: 19.98 kB / 0.6979 GB, free: 1.695 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.369e-05/0.1662, allocations: 68.61 kB / 0.698 GB, free: 1.629 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.1674, allocations: 0.6571 MB / 0.6987 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003779/0.1712, allocations: 4.635 MB / 0.7032 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009469/0.1722, allocations: 0.4931 MB / 0.7037 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004765/0.1727, allocations: 285.5 kB / 0.7039 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.197e-05/0.1727, allocations: 11.98 kB / 0.7039 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.1727, allocations: 34.56 kB / 0.704 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 3.958e-06/0.1728, allocations: 0 / 0.704 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34): time 0.001832/0.1746, allocations: 0.8979 MB / 0.7049 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.585e-05/0.1747, allocations: 85.05 kB / 0.7049 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000398/0.1751, allocations: 361.5 kB / 0.7053 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.599e-05/0.1751, allocations: 29.7 kB / 0.7053 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001914/0.1753, allocations: 294.9 kB / 0.7056 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.697e-05/0.1754, allocations: 122.3 kB / 0.7057 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.1755, allocations: 49.69 kB / 0.7058 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1757, allocations: 354.7 kB / 0.7061 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000476/0.1762, allocations: 261 kB / 0.7063 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006227/0.1768, allocations: 486.5 kB / 0.7068 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/0.178, allocations: 0.7739 MB / 0.7076 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.178, allocations: 0 / 0.7076 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001333/0.1793, allocations: 0.7783 MB / 0.7083 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002591/0.1796, allocations: 299.6 kB / 0.7086 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.1796, allocations: 8 kB / 0.7086 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.1797, allocations: 15.94 kB / 0.7086 GB, free: 6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006639/0.1803, allocations: 163.8 kB / 0.7088 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.762e-05/0.1804, allocations: 23.86 kB / 0.7088 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004361/0.1808, allocations: 67.69 kB / 0.7089 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-05/0.1809, allocations: 31.98 kB / 0.7089 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.971e-06/0.1809, allocations: 4 kB / 0.7089 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001033/0.1819, allocations: 0.617 MB / 0.7095 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.1819, allocations: 8 kB / 0.7095 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.1819, allocations: 12 kB / 0.7095 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005113/0.1825, allocations: 147.8 kB / 0.7097 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.1825, allocations: 11.94 kB / 0.7097 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000324/0.1828, allocations: 59.89 kB / 0.7097 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.385e-05/0.1829, allocations: 24 kB / 0.7098 GB, free: 4.84 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.0002725/0.1831, allocations: 286.1 kB / 0.71 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.171e-05/0.1832, allocations: 39.53 kB / 0.7101 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001119/0.1844, allocations: 0.5999 MB / 0.7107 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.1844, allocations: 4 kB / 0.7107 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1844, allocations: 0 / 0.7107 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.1844, allocations: 3.984 kB / 0.7107 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002461/0.1869, allocations: 1.621 MB / 0.7122 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.1869, allocations: 4 kB / 0.7122 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005384/0.1874, allocations: 123.8 kB / 0.7124 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/0.1874, allocations: 11.98 kB / 0.7124 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.049e-05/0.1875, allocations: 12.47 kB / 0.7124 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.702e-06/0.1875, allocations: 11.94 kB / 0.7124 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.676e-06/0.1875, allocations: 4 kB / 0.7124 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.1886, allocations: 0.8093 MB / 0.7132 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001813/0.1888, allocations: 168.4 kB / 0.7134 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.623e-05/0.1888, allocations: 12 kB / 0.7134 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000393/0.1892, allocations: 47.94 kB / 0.7134 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.299e-05/0.1893, allocations: 39.83 kB / 0.7135 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.678e-05/0.1893, allocations: 16 kB / 0.7135 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002565/0.1896, allocations: 255.2 kB / 0.7137 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1896, allocations: 4 kB / 0.7137 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007684/0.1904, allocations: 184 kB / 0.7139 GB, free: 420 kB / 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.0001324/0.1905, allocations: 111.4 kB / 0.714 GB, free: 300 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001555/0.1921, allocations: 0.937 MB / 0.7149 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1921, allocations: 3.938 kB / 0.7149 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004796/0.1926, allocations: 280.8 kB / 0.7152 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009401/0.1935, allocations: 108.8 kB / 0.7153 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.1951, allocations: 1.228 MB / 0.7165 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/0.1955, allocations: 0.8673 MB / 0.7173 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005539/0.1961, allocations: 200 kB / 0.7175 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.1963, allocations: 43.38 kB / 0.7176 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of SimCode: time 7.11e-07/0.1963, allocations: 0 / 0.7176 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of Templates: time 0.009759/0.206, allocations: 5.683 MB / 0.7231 GB, free: 6.914 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)