Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001366/0.001366, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002886/0.002886, allocations: 190.8 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.653/1.653, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.744/1.744, allocations: 292.2 MB / 0.5485 GB, free: 13.67 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001396, allocations: 63.94 kB / 0.671 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3251, allocations: 114.6 MB / 0.7829 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.005445/0.3306, allocations: 2.703 MB / 0.7855 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002498/0.3331, allocations: 1.341 MB / 0.7868 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000239/0.3334, allocations: 4 kB / 0.7868 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008813/0.3343, allocations: 163.5 kB / 0.787 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005426/0.3349, allocations: 155.4 kB / 0.7871 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005138/0.3354, allocations: 147.8 kB / 0.7873 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004696/0.3359, allocations: 271.1 kB / 0.7875 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004503/0.3363, allocations: 157.4 kB / 0.7877 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002834/0.3366, allocations: 99.61 kB / 0.7878 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003867/0.337, allocations: 131.6 kB / 0.7879 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.892e-05/0.3371, allocations: 16 kB / 0.7879 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003155/0.3374, allocations: 147.6 kB / 0.788 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.3376, allocations: 71.81 kB / 0.7881 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001316/0.3377, allocations: 91.52 kB / 0.7882 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005862/0.3383, allocations: 307.3 kB / 0.7885 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3383, allocations: 0 / 0.7885 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.234e-06/0.3383, allocations: 0 / 0.7885 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.3383, allocations: 0 / 0.7885 GB, free: 8.113 MB / 0.6075 GB 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.001082/0.3394, allocations: 0.491 MB / 0.789 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.3395, allocations: 8.031 kB / 0.789 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006153/0.3401, allocations: 64.67 kB / 0.789 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003588/0.3405, allocations: 243 kB / 0.7893 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.3405, allocations: 12.64 kB / 0.7893 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.778e-05/0.3406, allocations: 12.38 kB / 0.7893 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006145/0.3412, allocations: 309.3 kB / 0.7896 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.3412, allocations: 7.984 kB / 0.7896 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.104e-05/0.3412, allocations: 8 kB / 0.7896 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.065e-05/0.3413, allocations: 28.27 kB / 0.7896 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005586/0.3419, allocations: 256.5 kB / 0.7899 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001883/0.3438, allocations: 1.505 MB / 0.7913 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005089/0.3443, allocations: 249.1 kB / 0.7916 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002424/0.3445, allocations: 141.5 kB / 0.7917 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.3446, allocations: 8 kB / 0.7917 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.3446, allocations: 30.56 kB / 0.7918 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.342e-06/0.3446, allocations: 0 / 0.7918 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0007822/0.3454, allocations: 345.3 kB / 0.7921 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.3455, allocations: 77.11 kB / 0.7922 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.3457, allocations: 179.1 kB / 0.7923 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.3457, allocations: 25.7 kB / 0.7924 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.522e-05/0.3458, allocations: 136.1 kB / 0.7925 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.99e-05/0.3459, allocations: 59.17 kB / 0.7925 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.941e-05/0.346, allocations: 49.7 kB / 0.7926 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.3461, allocations: 326.8 kB / 0.7929 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/0.3463, allocations: 112.8 kB / 0.793 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002488/0.3466, allocations: 167.5 kB / 0.7932 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004516/0.3471, allocations: 277.5 kB / 0.7934 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3471, allocations: 0 / 0.7934 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005654/0.3476, allocations: 309.1 kB / 0.7937 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.3477, allocations: 8 kB / 0.7937 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.3477, allocations: 0 / 0.7937 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.3477, allocations: 7.938 kB / 0.7937 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000292/0.348, allocations: 60.11 kB / 0.7938 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.348, allocations: 4 kB / 0.7938 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/0.3482, allocations: 35.81 kB / 0.7938 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.3483, allocations: 8 kB / 0.7938 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002662/0.3486, allocations: 200.6 kB / 0.794 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002296/0.3488, allocations: 158.7 kB / 0.7942 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000384/0.3492, allocations: 243.6 kB / 0.7944 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.633e-06/0.3492, allocations: 3.938 kB / 0.7944 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004908/0.3497, allocations: 288.2 kB / 0.7947 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.3497, allocations: 4 kB / 0.7947 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3497, allocations: 4 kB / 0.7947 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.19e-06/0.3497, allocations: 4 kB / 0.7947 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.3499, allocations: 47.95 kB / 0.7948 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.3499, allocations: 7.938 kB / 0.7948 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001905/0.3501, allocations: 27.83 kB / 0.7948 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.3502, allocations: 12.2 kB / 0.7948 GB, free: 1.18 MB / 0.6075 GB 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.0001283/0.3503, allocations: 192.2 kB / 0.795 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.866e-05/0.3504, allocations: 15.81 kB / 0.795 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005358/0.3509, allocations: 270.9 kB / 0.7953 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.3509, allocations: 3.984 kB / 0.7953 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.351, allocations: 7.938 kB / 0.7953 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.351, allocations: 0 / 0.7953 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.352, allocations: 0.6771 MB / 0.7959 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.352, allocations: 4 kB / 0.7959 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002238/0.3523, allocations: 43.95 kB / 0.796 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/0.3523, allocations: 11.92 kB / 0.796 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.3523, allocations: 12.06 kB / 0.796 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.3523, allocations: 0 / 0.796 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.3523, allocations: 4 kB / 0.796 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005592/0.3529, allocations: 449.8 kB / 0.7964 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.353, allocations: 112.8 kB / 0.7965 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.537e-05/0.353, allocations: 11.92 kB / 0.7966 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/0.3533, allocations: 19.98 kB / 0.7966 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.369e-05/0.3533, allocations: 7.984 kB / 0.7966 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.3533, allocations: 4 kB / 0.7966 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001318/0.3535, allocations: 135.8 kB / 0.7967 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of sort global known variables: time 4.2e-07/0.3535, allocations: 4 kB / 0.7967 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005678/0.3541, allocations: 79.84 kB / 0.7968 GB, free: 15.01 MB / 0.6231 GB 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 0.0001574/0.3542, allocations: 104 kB / 0.7969 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007629/0.355, allocations: 391.3 kB / 0.7973 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.355, allocations: 3.938 kB / 0.7973 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002122/0.3552, allocations: 111.9 kB / 0.7974 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004899/0.3557, allocations: 49.92 kB / 0.7974 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008444/0.3566, allocations: 0.5146 MB / 0.7979 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/0.357, allocations: 0.748 MB / 0.7987 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002213/0.3572, allocations: 73.47 kB / 0.7987 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.785e-05/0.3573, allocations: 23.42 kB / 0.7987 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of SimCode: time 3.71e-07/0.3573, allocations: 4 kB / 0.7988 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of Templates: time 0.005536/0.3628, allocations: 2.238 MB / 0.8009 GB, free: 10.71 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)