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.001016/0.001016, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007835/0.007835, allocations: 170 kB / 16.27 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.376/1.376, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001746/0.001746, allocations: 278.4 kB / 291.7 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9545/0.9545, allocations: 169.5 MB / 0.5004 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004177/0.0004178, allocations: 14.81 kB / 0.5987 GB, free: 28.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1411, 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.ParallelResistors): time 0.003125/0.1443, allocations: 2.321 MB / 0.6874 GB, free: 12.72 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002018/0.1463, allocations: 1.299 MB / 0.6887 GB, free: 11.42 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.699e-05/0.1464, allocations: 0 / 0.6887 GB, free: 11.42 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001664/0.1466, allocations: 23.8 kB / 0.6887 GB, free: 11.4 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004309/0.147, allocations: 167.4 kB / 0.6889 GB, free: 11.23 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003535/0.1474, allocations: 150.9 kB / 0.689 GB, free: 11.09 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003584/0.1478, allocations: 367 kB / 0.6893 GB, free: 10.73 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004954/0.1483, allocations: 316.7 kB / 0.6897 GB, free: 10.4 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.1484, allocations: 80.86 kB / 0.6897 GB, free: 10.32 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002275/0.1487, allocations: 124.1 kB / 0.6898 GB, free: 10.2 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.268e-05/0.1487, allocations: 8 kB / 0.6899 GB, free: 10.19 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002494/0.149, allocations: 184.3 kB / 0.69 GB, free: 10.01 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.53e-05/0.149, allocations: 59.81 kB / 0.6901 GB, free: 9.953 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.87e-05/0.1491, allocations: 111.2 kB / 0.6902 GB, free: 9.84 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002969/0.1494, allocations: 287 kB / 0.6905 GB, free: 9.559 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1494, allocations: 0 / 0.6905 GB, free: 9.559 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.1494, allocations: 4 kB / 0.6905 GB, free: 9.555 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.1495, allocations: 0 / 0.6905 GB, free: 9.555 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006216/0.1501, allocations: 463.8 kB / 0.6909 GB, free: 9.051 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.1501, allocations: 12.03 kB / 0.6909 GB, free: 9.039 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004735/0.1506, allocations: 68.56 kB / 0.691 GB, free: 8.973 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.1508, allocations: 239.9 kB / 0.6912 GB, free: 8.699 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.1509, allocations: 8.656 kB / 0.6912 GB, free: 8.691 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.062e-05/0.1509, allocations: 16.38 kB / 0.6912 GB, free: 8.676 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004947/0.1514, allocations: 320.8 kB / 0.6915 GB, free: 8.336 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.1514, allocations: 0 / 0.6915 GB, free: 8.336 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.579e-05/0.1514, allocations: 15.92 kB / 0.6916 GB, free: 8.32 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.496e-05/0.1515, allocations: 28.25 kB / 0.6916 GB, free: 8.293 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004904/0.152, allocations: 268.6 kB / 0.6918 GB, free: 8.031 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001405/0.1534, allocations: 1.506 MB / 0.6933 GB, free: 6.379 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004675/0.1539, allocations: 261.1 kB / 0.6936 GB, free: 6.105 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002316/0.1541, allocations: 137.6 kB / 0.6937 GB, free: 5.965 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.1542, allocations: 3.984 kB / 0.6937 GB, free: 5.961 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.1542, allocations: 38.5 kB / 0.6937 GB, free: 5.914 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.313e-06/0.1542, allocations: 0 / 0.6937 GB, free: 5.914 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007349/0.1549, allocations: 358.5 kB / 0.6941 GB, free: 5.559 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.155, allocations: 85.05 kB / 0.6942 GB, free: 5.457 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.1551, allocations: 178.6 kB / 0.6943 GB, free: 5.27 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.1552, allocations: 25.7 kB / 0.6944 GB, free: 5.238 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.395e-05/0.1553, allocations: 140.1 kB / 0.6945 GB, free: 5.098 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.176e-05/0.1553, allocations: 55.2 kB / 0.6945 GB, free: 5.043 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.169e-05/0.1554, allocations: 21.7 kB / 0.6946 GB, free: 5.016 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.311e-05/0.1555, allocations: 330.8 kB / 0.6949 GB, free: 4.684 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.1557, allocations: 107.9 kB / 0.695 GB, free: 4.578 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002377/0.1559, allocations: 167.7 kB / 0.6951 GB, free: 4.387 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004521/0.1564, allocations: 296.8 kB / 0.6954 GB, free: 4.074 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1564, allocations: 0 / 0.6954 GB, free: 4.074 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005449/0.1569, allocations: 317.2 kB / 0.6957 GB, free: 3.758 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.041e-05/0.157, allocations: 139.2 kB / 0.6959 GB, free: 3.594 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.157, allocations: 4 kB / 0.6959 GB, free: 3.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.1571, allocations: 4 kB / 0.6959 GB, free: 3.586 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002734/0.1573, allocations: 55.89 kB / 0.6959 GB, free: 3.531 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.1574, allocations: 11.92 kB / 0.6959 GB, free: 3.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/0.1575, allocations: 39.73 kB / 0.696 GB, free: 3.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.1576, allocations: 15.98 kB / 0.696 GB, free: 3.465 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.631e-06/0.1576, allocations: 1.719 kB / 0.696 GB, free: 3.465 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004537/0.1581, allocations: 253.8 kB / 0.6962 GB, free: 3.219 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.175e-06/0.1581, allocations: 0 / 0.6962 GB, free: 3.219 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.468e-06/0.1581, allocations: 4 kB / 0.6962 GB, free: 3.215 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.1583, allocations: 55.89 kB / 0.6963 GB, free: 3.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1583, allocations: 4 kB / 0.6963 GB, free: 3.156 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.1585, allocations: 27.83 kB / 0.6963 GB, free: 3.129 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.1585, allocations: 12.16 kB / 0.6963 GB, free: 3.117 MB / 494.1 MB 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.000137/0.1586, allocations: 227.3 kB / 0.6965 GB, free: 2.887 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.911e-05/0.1587, allocations: 15.81 kB / 0.6966 GB, free: 2.871 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005496/0.1592, allocations: 278.9 kB / 0.6968 GB, free: 2.594 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.1593, allocations: 4 kB / 0.6968 GB, free: 2.59 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1593, allocations: 0 / 0.6968 GB, free: 2.59 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.1593, allocations: 3.984 kB / 0.6968 GB, free: 2.586 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009608/0.1603, allocations: 0.6927 MB / 0.6975 GB, free: 1.824 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1603, allocations: 0 / 0.6975 GB, free: 1.824 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002326/0.1605, allocations: 55.88 kB / 0.6976 GB, free: 1.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1605, allocations: 0 / 0.6976 GB, free: 1.77 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.1605, allocations: 8 kB / 0.6976 GB, free: 1.762 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.1605, allocations: 7.938 kB / 0.6976 GB, free: 1.754 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1606, allocations: 0 / 0.6976 GB, free: 1.754 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000511/0.1611, allocations: 466.8 kB / 0.698 GB, free: 1.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.581e-05/0.1612, allocations: 108.8 kB / 0.6981 GB, free: 1.145 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.23e-05/0.1612, allocations: 11.98 kB / 0.6981 GB, free: 1.133 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.1614, allocations: 19.92 kB / 0.6982 GB, free: 1.113 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.326e-05/0.1615, allocations: 15.98 kB / 0.6982 GB, free: 1.098 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.1615, allocations: 8 kB / 0.6982 GB, free: 1.09 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.873e-05/0.1616, allocations: 135.7 kB / 0.6983 GB, free: 0.957 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1616, allocations: 0 / 0.6983 GB, free: 0.957 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004444/0.1621, allocations: 83.84 kB / 0.6984 GB, free: 0.875 MB / 494.1 MB 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 9.807e-05/0.1622, allocations: 99.19 kB / 0.6985 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006911/0.1629, allocations: 394.5 kB / 0.6989 GB, free: 396 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1629, allocations: 0.875 kB / 0.6989 GB, free: 396 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002255/0.1631, allocations: 123.9 kB / 0.699 GB, free: 272 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004832/0.1636, allocations: 42.69 kB / 0.699 GB, free: 232 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006954/0.1643, allocations: 0.5174 MB / 0.6995 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.1646, allocations: 0.744 MB / 0.7003 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001945/0.1648, allocations: 77.47 kB / 0.7003 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.186e-05/0.1649, allocations: 15.44 kB / 0.7003 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of SimCode: time 2.9e-07/0.1649, allocations: 4 kB / 0.7003 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of Templates: time 0.004692/0.1696, allocations: 2.136 MB / 0.7024 GB, free: 12.68 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)