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.703/1.703, allocations: 285.4 MB / 298 MB, free: 5.949 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.001127/0.001127, allocations: 168.9 kB / 366.4 MB, free: 2.094 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.582/1.582, allocations: 205.1 MB / 0.6248 GB, free: 7.711 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007985/0.0007987, allocations: 91.67 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.873e-05/2.876e-05, allocations: 0 / 0.8583 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.687/0.6871, allocations: 115.3 MB / 0.9709 GB, free: 77.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2194/0.9065, allocations: 154 MB / 1.121 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/0.9068, allocations: 95.92 kB / 1.121 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03343/0.9402, allocations: 13.36 MB / 1.134 GB, free: 300 kB / 0.7292 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9403, allocations: 4 kB / 1.134 GB, free: 296 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.213e-05/0.9403, allocations: 4 kB / 1.134 GB, free: 292 kB / 0.7292 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.0008999/0.9412, allocations: 475 kB / 1.135 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.9413, allocations: 11.97 kB / 1.135 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007115/0.942, allocations: 77.47 kB / 1.135 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003743/0.9424, allocations: 250.5 kB / 1.135 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.9424, allocations: 12 kB / 1.135 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.385e-05/0.9425, allocations: 12 kB / 1.135 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000474/0.9429, allocations: 283.4 kB / 1.135 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.943, allocations: 0 / 1.135 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.052e-05/0.943, allocations: 11.98 kB / 1.136 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-05/0.9431, allocations: 23.98 kB / 1.136 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003894/0.9435, allocations: 231.8 kB / 1.136 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00179/0.9453, allocations: 1.497 MB / 1.137 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004357/0.9457, allocations: 241.1 kB / 1.137 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.9459, allocations: 109.7 kB / 1.138 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.9459, allocations: 7.984 kB / 1.138 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.946, allocations: 42.55 kB / 1.138 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 3.045e-06/0.946, allocations: 7.922 kB / 1.138 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.0004498/0.9464, allocations: 221.6 kB / 1.138 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.9465, allocations: 81.11 kB / 1.138 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.9467, allocations: 149.9 kB / 1.138 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.9467, allocations: 31.48 kB / 1.138 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.433e-05/0.9468, allocations: 144.1 kB / 1.138 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.86e-05/0.9469, allocations: 51.2 kB / 1.138 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.267e-05/0.9469, allocations: 4 kB / 1.138 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.947, allocations: 330.8 kB / 1.139 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.9472, allocations: 87.95 kB / 1.139 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.9474, allocations: 153.1 kB / 1.139 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.9476, allocations: 111.8 kB / 1.139 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.9476, allocations: 0 / 1.139 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004401/0.948, allocations: 278.9 kB / 1.139 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.000329/0.9484, allocations: 0.6994 MB / 1.14 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-06/0.9484, allocations: 7.953 kB / 1.14 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.608e-05/0.9485, allocations: 4 kB / 1.14 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003207/0.9488, allocations: 57.27 kB / 1.14 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.9488, allocations: 4 kB / 1.14 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002174/0.949, allocations: 35.81 kB / 1.14 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.803e-05/0.9491, allocations: 12 kB / 1.14 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.9491, allocations: 4 kB / 1.14 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003528/0.9495, allocations: 213.5 kB / 1.14 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.9495, allocations: 4 kB / 1.14 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.839e-06/0.9495, allocations: 0 / 1.14 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/0.9497, allocations: 51.91 kB / 1.14 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.9497, allocations: 4 kB / 1.14 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.9499, allocations: 32.03 kB / 1.14 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.9499, allocations: 12 kB / 1.14 GB, free: 9.859 MB / 0.7448 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 () * 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.0001045/0.95, allocations: 120.9 kB / 1.14 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.135e-05/0.9501, allocations: 18.25 kB / 1.14 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004425/0.9506, allocations: 245 kB / 1.141 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.9506, allocations: 4 kB / 1.141 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.9506, allocations: 0 / 1.141 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.9506, allocations: 0 / 1.141 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009559/0.9516, allocations: 0.6537 MB / 1.141 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.9516, allocations: 0 / 1.141 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/0.9518, allocations: 47.89 kB / 1.141 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.9518, allocations: 4 kB / 1.141 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.9519, allocations: 8 kB / 1.141 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.9519, allocations: 128 / 1.141 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.9519, allocations: 8 kB / 1.141 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005431/0.9524, allocations: 488.1 kB / 1.142 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/0.9526, allocations: 116.8 kB / 1.142 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.214e-05/0.9526, allocations: 4 kB / 1.142 GB, free: 8 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002163/0.9529, allocations: 23.97 kB / 1.142 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.343e-05/0.9529, allocations: 19.94 kB / 1.142 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.9529, allocations: 4 kB / 1.142 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001136/0.9531, allocations: 139.4 kB / 1.142 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9531, allocations: 0 / 1.142 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004809/0.9536, allocations: 91.84 kB / 1.142 GB, free: 7.727 MB / 0.7448 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 () * 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.0001692/0.9537, allocations: 111.1 kB / 1.142 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005556/0.9543, allocations: 338 kB / 1.143 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.9543, allocations: 0 / 1.143 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.9545, allocations: 99.83 kB / 1.143 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.9548, allocations: 32.16 kB / 1.143 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006572/0.9555, allocations: 328.2 kB / 1.143 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000398/0.9559, allocations: 0.7572 MB / 1.144 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002571/0.9562, allocations: 84.83 kB / 1.144 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.308e-05/0.9562, allocations: 15.44 kB / 1.144 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of SimCode: time 5.91e-07/0.9562, allocations: 3.938 kB / 1.144 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of Templates: time 0.005698/0.962, allocations: 2.262 MB / 1.146 GB, free: 3.719 MB / 0.7448 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)