Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.754/1.754, allocations: 288.3 MB / 303.2 MB, free: 8.16 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.001739/0.001739, allocations: 191.6 kB / 371.9 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.673/1.673, allocations: 205.4 MB / 0.6306 GB, free: 9.926 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.001048/0.001048, allocations: 98.59 kB / 0.7439 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000444/0.000444, allocations: 11.31 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3177, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.002765/0.3205, allocations: 2.237 MB / 0.9816 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001544/0.3221, allocations: 1.244 MB / 0.9828 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.412e-05/0.3222, allocations: 11.94 kB / 0.9828 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001472/0.3224, allocations: 19.84 kB / 0.9829 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003822/0.3227, allocations: 111.6 kB / 0.983 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003274/0.3231, allocations: 127.7 kB / 0.9831 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002334/0.3233, allocations: 159.7 kB / 0.9832 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006364/0.324, allocations: 290 kB / 0.9835 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002242/0.3242, allocations: 71.75 kB / 0.9836 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002488/0.3245, allocations: 83.67 kB / 0.9837 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.832e-05/0.3245, allocations: 8 kB / 0.9837 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001788/0.3247, allocations: 75.86 kB / 0.9837 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.968e-05/0.3248, allocations: 47.89 kB / 0.9838 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.003e-05/0.3248, allocations: 57.58 kB / 0.9838 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002773/0.3251, allocations: 211.7 kB / 0.984 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3251, allocations: 0 / 0.984 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.415e-06/0.3251, allocations: 0 / 0.984 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.395e-06/0.3252, allocations: 0 / 0.984 GB, free: 22.89 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.0008661/0.326, allocations: 474.8 kB / 0.9845 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.3261, allocations: 12.03 kB / 0.9845 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005616/0.3267, allocations: 71.69 kB / 0.9846 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003237/0.327, allocations: 242.6 kB / 0.9848 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.327, allocations: 12.27 kB / 0.9848 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/0.3271, allocations: 12 kB / 0.9848 GB, free: 22 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004785/0.3276, allocations: 308.6 kB / 0.9851 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.3276, allocations: 7.938 kB / 0.9851 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.3276, allocations: 0 / 0.9851 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-05/0.3277, allocations: 28.27 kB / 0.9852 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004227/0.3281, allocations: 268.6 kB / 0.9854 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/0.3295, allocations: 1.513 MB / 0.9869 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004349/0.3299, allocations: 265.8 kB / 0.9871 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.33, allocations: 0 / 0.9871 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.33, allocations: 38.56 kB / 0.9872 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 9.32e-07/0.33, allocations: 0 / 0.9872 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0007413/0.3307, allocations: 367.7 kB / 0.9875 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.3308, allocations: 77.11 kB / 0.9876 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.3309, allocations: 174.6 kB / 0.9878 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.331, allocations: 29.7 kB / 0.9878 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.658e-05/0.331, allocations: 140.1 kB / 0.9879 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.545e-05/0.3311, allocations: 59.19 kB / 0.988 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.128e-05/0.3311, allocations: 0 / 0.988 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.87e-05/0.3312, allocations: 330.8 kB / 0.9883 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.3314, allocations: 103.9 kB / 0.9884 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.3316, allocations: 174.3 kB / 0.9886 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/0.3318, allocations: 123.9 kB / 0.9887 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3318, allocations: 4.031 kB / 0.9887 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004671/0.3323, allocations: 314.4 kB / 0.989 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001633/0.3325, allocations: 0.7032 MB / 0.9897 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.3325, allocations: 0 / 0.9897 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.3325, allocations: 7.938 kB / 0.9897 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000273/0.3328, allocations: 59.89 kB / 0.9897 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/0.3328, allocations: 8 kB / 0.9898 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001806/0.333, allocations: 35.75 kB / 0.9898 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.333, allocations: 12 kB / 0.9898 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.3331, allocations: 5.562 kB / 0.9898 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004183/0.3335, allocations: 244.7 kB / 0.99 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-06/0.3335, allocations: 0 / 0.99 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.779e-06/0.3335, allocations: 4 kB / 0.99 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001941/0.3337, allocations: 55.91 kB / 0.9901 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3337, allocations: 7.984 kB / 0.9901 GB, free: 16.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.3339, allocations: 32 kB / 0.9901 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.3339, allocations: 11.94 kB / 0.9901 GB, free: 16.22 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.0001321/0.334, allocations: 217 kB / 0.9904 GB, free: 16 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.221e-05/0.3341, allocations: 23.73 kB / 0.9904 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000487/0.3346, allocations: 282.9 kB / 0.9906 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.3346, allocations: 4 kB / 0.9906 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.3346, allocations: 0 / 0.9906 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.3346, allocations: 3.953 kB / 0.9907 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008407/0.3355, allocations: 0.685 MB / 0.9913 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.3355, allocations: 0 / 0.9913 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/0.3357, allocations: 43.95 kB / 0.9914 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.3357, allocations: 7.953 kB / 0.9914 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.3358, allocations: 8 kB / 0.9914 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.3358, allocations: 12.05 kB / 0.9914 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3358, allocations: 4 kB / 0.9914 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004461/0.3362, allocations: 0.5002 MB / 0.9919 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.436e-05/0.3363, allocations: 116.9 kB / 0.992 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.086e-05/0.3364, allocations: 4 kB / 0.992 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.3366, allocations: 23.97 kB / 0.992 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.924e-05/0.3366, allocations: 15.88 kB / 0.992 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.998e-06/0.3366, allocations: 4 kB / 0.992 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.286e-05/0.3367, allocations: 135.2 kB / 0.9922 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3367, allocations: 0 / 0.9922 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004307/0.3372, allocations: 91.69 kB / 0.9923 GB, free: 13.9 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.0001155/0.3373, allocations: 103.2 kB / 0.9924 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006755/0.338, allocations: 386.1 kB / 0.9927 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.338, allocations: 0 / 0.9927 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001912/0.3382, allocations: 116.7 kB / 0.9928 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.3385, allocations: 46.66 kB / 0.9929 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000698/0.3392, allocations: 0.4952 MB / 0.9934 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002008/0.3394, allocations: 0.7556 MB / 0.9941 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001865/0.3396, allocations: 73.47 kB / 0.9942 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.738e-05/0.3397, allocations: 23.42 kB / 0.9942 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.3397, allocations: 0 / 0.9942 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of Templates: time 0.00436/0.3441, allocations: 2.077 MB / 0.9962 GB, free: 9.777 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)