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.001029/0.001033, allocations: 110.5 kB / 16.37 MB, free: 6.477 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.000984/0.000984, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.238/1.238, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00205/0.00205, allocations: 282.7 kB / 291.4 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9158/0.9158, allocations: 169.3 MB / 0.4989 GB, free: 4.473 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 97.94 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1681, allocations: 86.97 MB / 0.6816 GB, free: 7.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.003754/0.1719, allocations: 2.632 MB / 0.6842 GB, free: 4.828 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001766/0.1737, allocations: 1.313 MB / 0.6855 GB, free: 3.508 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.21e-05/0.1738, allocations: 7.938 kB / 0.6855 GB, free: 3.5 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005772/0.1743, allocations: 179.3 kB / 0.6856 GB, free: 3.324 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002904/0.1746, allocations: 167.2 kB / 0.6858 GB, free: 3.16 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000297/0.1749, allocations: 159.7 kB / 0.686 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002754/0.1752, allocations: 263.2 kB / 0.6862 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000263/0.1755, allocations: 149.3 kB / 0.6864 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.1756, allocations: 95.67 kB / 0.6864 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002169/0.1759, allocations: 127.5 kB / 0.6866 GB, free: 2.383 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.572e-05/0.1759, allocations: 12 kB / 0.6866 GB, free: 2.371 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001991/0.1761, allocations: 155.6 kB / 0.6867 GB, free: 2.219 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.92e-05/0.1762, allocations: 63.81 kB / 0.6868 GB, free: 2.156 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.403e-05/0.1763, allocations: 91.53 kB / 0.6869 GB, free: 2.066 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002952/0.1766, allocations: 295 kB / 0.6872 GB, free: 1.777 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.1766, allocations: 0 / 0.6872 GB, free: 1.777 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1766, allocations: 3.938 kB / 0.6872 GB, free: 1.773 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.1766, allocations: 0 / 0.6872 GB, free: 1.773 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.0007102/0.1773, allocations: 495 kB / 0.6876 GB, free: 1.238 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.1774, allocations: 12.03 kB / 0.6876 GB, free: 1.227 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004604/0.1778, allocations: 72.58 kB / 0.6877 GB, free: 1.156 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/0.1781, allocations: 244.7 kB / 0.6879 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.1782, allocations: 12.66 kB / 0.688 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.923e-05/0.1782, allocations: 12.38 kB / 0.688 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004791/0.1787, allocations: 309.5 kB / 0.6883 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.1787, allocations: 0 / 0.6883 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/0.1787, allocations: 11.98 kB / 0.6883 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-05/0.1788, allocations: 24.25 kB / 0.6883 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004415/0.1792, allocations: 268.5 kB / 0.6886 GB, free: 236 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2698/0.4491, allocations: 1.491 MB / 0.69 GB, free: 17.33 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004876/0.4496, allocations: 256.1 kB / 0.6903 GB, free: 17.28 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002216/0.4498, allocations: 131.6 kB / 0.6904 GB, free: 17.26 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.4499, allocations: 3.562 kB / 0.6904 GB, free: 17.26 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.4499, allocations: 35.45 kB / 0.6904 GB, free: 17.22 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 3.086e-06/0.4499, allocations: 3.938 kB / 0.6904 GB, free: 17.22 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007221/0.4506, allocations: 344.5 kB / 0.6908 GB, free: 17.19 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.4507, allocations: 80.11 kB / 0.6908 GB, free: 17.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.4508, allocations: 176.7 kB / 0.691 GB, free: 16.99 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.4508, allocations: 30.77 kB / 0.691 GB, free: 16.96 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.03e-05/0.4509, allocations: 135.7 kB / 0.6912 GB, free: 16.86 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.658e-05/0.4509, allocations: 61.17 kB / 0.6912 GB, free: 16.83 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.215e-05/0.451, allocations: 41.61 kB / 0.6913 GB, free: 16.82 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.03e-05/0.4511, allocations: 326.5 kB / 0.6916 GB, free: 16.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/0.4513, allocations: 108.9 kB / 0.6917 GB, free: 16.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/0.4515, allocations: 168.5 kB / 0.6918 GB, free: 16.43 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004179/0.452, allocations: 278.8 kB / 0.6921 GB, free: 16.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.452, allocations: 1.531 kB / 0.6921 GB, free: 16.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00055/0.4525, allocations: 316.6 kB / 0.6924 GB, free: 16.17 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.4526, allocations: 11.08 kB / 0.6924 GB, free: 16.17 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.4526, allocations: 2 kB / 0.6924 GB, free: 16.17 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.4526, allocations: 6.422 kB / 0.6924 GB, free: 16.17 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002996/0.4529, allocations: 55.56 kB / 0.6925 GB, free: 16.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.4529, allocations: 8 kB / 0.6925 GB, free: 16.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/0.4531, allocations: 32.09 kB / 0.6925 GB, free: 16.15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.427e-05/0.4532, allocations: 8.594 kB / 0.6925 GB, free: 16.15 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002373/0.4534, allocations: 193.3 kB / 0.6927 GB, free: 16.03 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001918/0.4536, allocations: 156.7 kB / 0.6929 GB, free: 15.92 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003504/0.454, allocations: 253.4 kB / 0.6931 GB, free: 15.78 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.232e-06/0.454, allocations: 1.5 kB / 0.6931 GB, free: 15.78 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004506/0.4544, allocations: 281.3 kB / 0.6934 GB, free: 15.66 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.226e-06/0.4545, allocations: 6.25 kB / 0.6934 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.4545, allocations: 2.906 kB / 0.6934 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.869e-06/0.4545, allocations: 3.141 kB / 0.6934 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/0.4547, allocations: 55.14 kB / 0.6934 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.4547, allocations: 3.75 kB / 0.6934 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.4549, allocations: 33.27 kB / 0.6935 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.4549, allocations: 7.312 kB / 0.6935 GB, free: 15.64 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 7.139e-05/0.455, allocations: 188.5 kB / 0.6936 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.766e-05/0.455, allocations: 20.72 kB / 0.6937 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005177/0.4556, allocations: 266.6 kB / 0.6939 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.4556, allocations: 11.44 kB / 0.6939 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.4556, allocations: 1.156 kB / 0.6939 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.4556, allocations: 0.5625 kB / 0.6939 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009311/0.4565, allocations: 0.6761 MB / 0.6946 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.4565, allocations: 5.266 kB / 0.6946 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002278/0.4568, allocations: 48.33 kB / 0.6946 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.4568, allocations: 3.125 kB / 0.6946 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.4568, allocations: 2.406 kB / 0.6947 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.4568, allocations: 2.453 kB / 0.6947 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4568, allocations: 1.562 kB / 0.6947 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004701/0.4573, allocations: 463.5 kB / 0.6951 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.561e-05/0.4574, allocations: 117.9 kB / 0.6952 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.4574, allocations: 4.047 kB / 0.6952 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/0.4576, allocations: 21.97 kB / 0.6952 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.401e-05/0.4577, allocations: 22.97 kB / 0.6953 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.4577, allocations: 4.969 kB / 0.6953 GB, free: 14.45 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.866e-05/0.4578, allocations: 139.6 kB / 0.6954 GB, free: 14.35 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4578, allocations: 0.8125 kB / 0.6954 GB, free: 14.35 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004536/0.4583, allocations: 81.44 kB / 0.6955 GB, free: 14.34 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 9e-05/0.4584, allocations: 98.25 kB / 0.6956 GB, free: 14.25 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006858/0.4591, allocations: 379.6 kB / 0.6959 GB, free: 14.13 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4591, allocations: 0.875 kB / 0.6959 GB, free: 14.13 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002083/0.4593, allocations: 111.3 kB / 0.696 GB, free: 14.11 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004471/0.4598, allocations: 42.81 kB / 0.6961 GB, free: 14.09 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006671/0.4604, allocations: 440 kB / 0.6965 GB, free: 13.83 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001977/0.4606, allocations: 0.7485 MB / 0.6972 GB, free: 13.12 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002104/0.4609, allocations: 77.78 kB / 0.6973 GB, free: 13.12 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.334e-05/0.4609, allocations: 17.95 kB / 0.6973 GB, free: 13.11 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4609, allocations: 0 / 0.6973 GB, free: 13.11 MB / 494.1 MB Notification: Performance of Templates: time 0.005413/0.4664, allocations: 2.31 MB / 0.6996 GB, free: 12.97 MB / 494.1 MB 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)