Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.949/2.949, allocations: 287.3 MB / 302.3 MB, free: 8.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002403/0.002403, allocations: 178.8 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.219/2.219, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 82.92 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000507/0.0005071, allocations: 11.8 kB / 0.8656 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2316, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.003517/0.2351, allocations: 2.233 MB / 0.9804 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002465/0.2377, allocations: 1.237 MB / 0.9816 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001641/0.2379, allocations: 7.938 kB / 0.9816 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001676/0.2381, allocations: 23.84 kB / 0.9816 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005483/0.2386, allocations: 115.6 kB / 0.9817 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005365/0.2392, allocations: 127.7 kB / 0.9819 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000317/0.2395, allocations: 155.7 kB / 0.982 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006381/0.2402, allocations: 286 kB / 0.9823 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002007/0.2404, allocations: 75.75 kB / 0.9823 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002477/0.2407, allocations: 83.67 kB / 0.9824 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.52e-05/0.2407, allocations: 11.98 kB / 0.9824 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002415/0.241, allocations: 71.88 kB / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.975e-05/0.241, allocations: 51.89 kB / 0.9826 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.316e-05/0.2411, allocations: 53.58 kB / 0.9826 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003373/0.2415, allocations: 211.6 kB / 0.9828 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2415, allocations: 4 kB / 0.9828 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.914e-06/0.2415, allocations: 0 / 0.9828 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.892e-06/0.2415, allocations: 0 / 0.9828 GB, free: 23.59 MB / 0.6198 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.0008902/0.2425, allocations: 478.8 kB / 0.9833 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.2425, allocations: 8.031 kB / 0.9833 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007532/0.2433, allocations: 75.69 kB / 0.9833 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.2436, allocations: 234.6 kB / 0.9836 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.2437, allocations: 12.27 kB / 0.9836 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.469e-05/0.2437, allocations: 15.94 kB / 0.9836 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000716/0.2445, allocations: 304.6 kB / 0.9839 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.2445, allocations: 3.938 kB / 0.9839 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/0.2445, allocations: 8 kB / 0.9839 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-05/0.2446, allocations: 24.27 kB / 0.9839 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007714/0.2454, allocations: 276.5 kB / 0.9842 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002122/0.2475, allocations: 1.509 MB / 0.9857 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000727/0.2483, allocations: 265 kB / 0.9859 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.2484, allocations: 4 kB / 0.9859 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.2484, allocations: 30.56 kB / 0.9859 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 2.475e-06/0.2484, allocations: 0 / 0.9859 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.001158/0.2496, allocations: 367 kB / 0.9863 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.2496, allocations: 81.11 kB / 0.9864 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.2498, allocations: 174.8 kB / 0.9865 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.2499, allocations: 25.7 kB / 0.9866 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.291e-05/0.25, allocations: 140.1 kB / 0.9867 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.287e-05/0.25, allocations: 63.12 kB / 0.9868 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.869e-05/0.2501, allocations: 0 / 0.9868 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.897e-05/0.2502, allocations: 330.8 kB / 0.9871 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003646/0.2505, allocations: 99.94 kB / 0.9872 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003681/0.2509, allocations: 175.5 kB / 0.9873 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003729/0.2513, allocations: 124 kB / 0.9875 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.2513, allocations: 4 kB / 0.9875 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008602/0.2522, allocations: 321.1 kB / 0.9878 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001711/0.2524, allocations: 0.7015 MB / 0.9885 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.2524, allocations: 8 kB / 0.9885 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/0.2524, allocations: 0 / 0.9885 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005141/0.253, allocations: 63.89 kB / 0.9885 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.253, allocations: 4 kB / 0.9885 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003341/0.2533, allocations: 35.81 kB / 0.9886 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.763e-05/0.2534, allocations: 11.94 kB / 0.9886 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.729e-06/0.2534, allocations: 4 kB / 0.9886 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007049/0.2541, allocations: 243.8 kB / 0.9888 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2541, allocations: 12 kB / 0.9888 GB, free: 17.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.943e-06/0.2541, allocations: 4 kB / 0.9888 GB, free: 17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004217/0.2546, allocations: 51.91 kB / 0.9889 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.2546, allocations: 7.938 kB / 0.9889 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002579/0.2549, allocations: 27.89 kB / 0.9889 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.185e-05/0.2549, allocations: 4 kB / 0.9889 GB, free: 16.91 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001895/0.2551, allocations: 231.2 kB / 0.9891 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.068e-05/0.2552, allocations: 19.8 kB / 0.9891 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008037/0.256, allocations: 278.9 kB / 0.9894 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.256, allocations: 0 / 0.9894 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.2561, allocations: 3.953 kB / 0.9894 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.2561, allocations: 8 kB / 0.9894 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001435/0.2575, allocations: 0.6811 MB / 0.9901 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.2575, allocations: 0 / 0.9901 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004249/0.258, allocations: 51.91 kB / 0.9901 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.897e-06/0.258, allocations: 4 kB / 0.9901 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.258, allocations: 4 kB / 0.9901 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.2581, allocations: 11.92 kB / 0.9902 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.2581, allocations: 3.938 kB / 0.9902 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008056/0.2589, allocations: 0.5069 MB / 0.9907 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.259, allocations: 108.9 kB / 0.9908 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.279e-05/0.2591, allocations: 4 kB / 0.9908 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003543/0.2594, allocations: 27.92 kB / 0.9908 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.488e-05/0.2595, allocations: 19.92 kB / 0.9908 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/0.2596, allocations: 4 kB / 0.9908 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001325/0.2597, allocations: 131.2 kB / 0.9909 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.31e-07/0.2597, allocations: 0 / 0.9909 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006981/0.2604, allocations: 87.69 kB / 0.991 GB, free: 14.59 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001349/0.2606, allocations: 103.9 kB / 0.9911 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001169/0.2618, allocations: 386 kB / 0.9915 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.2618, allocations: 0 / 0.9915 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003644/0.2622, allocations: 115.9 kB / 0.9916 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005431/0.2627, allocations: 32.16 kB / 0.9916 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.2638, allocations: 0.5108 MB / 0.9921 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.2641, allocations: 0.7595 MB / 0.9929 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003657/0.2645, allocations: 81.45 kB / 0.993 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.2646, allocations: 19.42 kB / 0.993 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of SimCode: time 1.082e-06/0.2646, allocations: 0 / 0.993 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of Templates: time 0.006703/0.2713, allocations: 2.069 MB / 0.995 GB, free: 10.47 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)