Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002663/0.002663, allocations: 80.55 kB / 19.95 MB, free: 4.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003346/0.003346, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.675/1.675, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.068/3.068, allocations: 389.5 MB / 0.6343 GB, free: 12.62 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.649e-05/2.79e-05, allocations: 5.938 kB / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004985/0.005013, allocations: 3.038 MB / 1.004 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.003367/0.008381, allocations: 1.869 MB / 1.006 GB, free: 8.117 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.008502, allocations: 7.938 kB / 1.006 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001228/0.009731, allocations: 282.8 kB / 1.006 GB, free: 7.832 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0005114/0.01024, allocations: 210.8 kB / 1.006 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000694/0.01094, allocations: 262 kB / 1.007 GB, free: 7.371 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0004434/0.01138, allocations: 326.8 kB / 1.007 GB, free: 7.051 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000341/0.01172, allocations: 145.1 kB / 1.007 GB, free: 6.906 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003118/0.01203, allocations: 195.5 kB / 1.007 GB, free: 6.715 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002881/0.01232, allocations: 139.6 kB / 1.007 GB, free: 6.578 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.343e-05/0.01236, allocations: 20 kB / 1.007 GB, free: 6.559 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006713/0.01304, allocations: 383 kB / 1.008 GB, free: 6.184 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.01317, allocations: 99.7 kB / 1.008 GB, free: 6.086 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.000124/0.01329, allocations: 79.83 kB / 1.008 GB, free: 6.008 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0008155/0.01411, allocations: 0.5142 MB / 1.008 GB, free: 5.492 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.01411, allocations: 3.938 kB / 1.008 GB, free: 5.488 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.914e-06/0.01411, allocations: 0 / 1.008 GB, free: 5.488 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.01412, allocations: 0 / 1.008 GB, free: 5.488 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009142/0.01503, allocations: 0.4971 MB / 1.009 GB, free: 4.961 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.01507, allocations: 13.34 kB / 1.009 GB, free: 4.949 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000751/0.01582, allocations: 104.7 kB / 1.009 GB, free: 4.848 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003507/0.01617, allocations: 205.4 kB / 1.009 GB, free: 4.621 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.0162, allocations: 16.86 kB / 1.009 GB, free: 4.605 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.873e-05/0.01624, allocations: 16.38 kB / 1.009 GB, free: 4.59 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006434/0.01688, allocations: 409 kB / 1.01 GB, free: 4.156 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.01689, allocations: 192 / 1.01 GB, free: 4.156 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.158e-05/0.01692, allocations: 12.38 kB / 1.01 GB, free: 4.145 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.858e-05/0.01697, allocations: 24.42 kB / 1.01 GB, free: 4.121 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005153/0.01749, allocations: 297.7 kB / 1.01 GB, free: 3.828 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002086/0.01957, allocations: 1.23 MB / 1.011 GB, free: 2.543 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005003/0.02007, allocations: 241 kB / 1.011 GB, free: 2.289 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/0.02025, allocations: 101.7 kB / 1.011 GB, free: 2.184 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.834e-05/0.02033, allocations: 12 kB / 1.012 GB, free: 2.172 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.02036, allocations: 34.56 kB / 1.012 GB, free: 2.129 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=16): time 3.798e-06/0.02037, allocations: 3.984 kB / 1.012 GB, free: 2.125 MB / 0.9636 GB Notification: Performance of matching and sorting (n=23): time 0.002575/0.02294, allocations: 0.8942 MB / 1.012 GB, free: 1.211 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.567e-05/0.02301, allocations: 81.11 kB / 1.012 GB, free: 1.113 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000253/0.02326, allocations: 208.3 kB / 1.013 GB, free: 0.8984 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.257e-05/0.02329, allocations: 25.7 kB / 1.013 GB, free: 0.8672 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.02344, allocations: 180.4 kB / 1.013 GB, free: 0.6836 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 9.078e-05/0.02353, allocations: 79.31 kB / 1.013 GB, free: 0.6055 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.02364, allocations: 61.83 kB / 1.013 GB, free: 0.5391 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001883/0.02383, allocations: 342.7 kB / 1.013 GB, free: 200 kB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.02405, allocations: 131.9 kB / 1.013 GB, free: 68 kB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003219/0.02437, allocations: 210.7 kB / 1.014 GB, free: 15.83 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005404/0.02491, allocations: 371.8 kB / 1.014 GB, free: 15.43 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.02491, allocations: 0 / 1.014 GB, free: 15.43 MB / 0.9792 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000957/0.02587, allocations: 0.5049 MB / 1.015 GB, free: 14.91 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.02588, allocations: 8.312 kB / 1.015 GB, free: 14.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.02589, allocations: 7.984 kB / 1.015 GB, free: 14.89 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005391/0.02643, allocations: 151.3 kB / 1.015 GB, free: 14.73 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/0.0267, allocations: 63.91 kB / 1.015 GB, free: 14.67 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003807/0.03051, allocations: 3.926 MB / 1.019 GB, free: 10.49 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002073/0.03072, allocations: 20.38 kB / 1.019 GB, free: 10.47 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.261e-05/0.03075, allocations: 20 kB / 1.019 GB, free: 10.45 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002152/0.03096, allocations: 162.3 kB / 1.019 GB, free: 10.28 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.053e-05/0.03103, allocations: 19.91 kB / 1.019 GB, free: 10.26 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009558/0.03199, allocations: 477.6 kB / 1.019 GB, free: 9.777 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.032, allocations: 7.984 kB / 1.019 GB, free: 9.77 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.032, allocations: 0 / 1.019 GB, free: 9.77 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.03201, allocations: 4 kB / 1.019 GB, free: 9.766 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001884/0.03389, allocations: 0.8903 MB / 1.02 GB, free: 8.801 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.0339, allocations: 4.25 kB / 1.02 GB, free: 8.797 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001301/0.03403, allocations: 31.98 kB / 1.02 GB, free: 8.766 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004335/0.03446, allocations: 143.3 kB / 1.02 GB, free: 8.613 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.03448, allocations: 8 kB / 1.02 GB, free: 8.605 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003554/0.03804, allocations: 3.895 MB / 1.024 GB, free: 4.453 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.097e-05/0.03805, allocations: 3.938 kB / 1.024 GB, free: 4.449 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009238/0.03897, allocations: 0.618 MB / 1.025 GB, free: 3.777 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.0391, allocations: 51.83 kB / 1.025 GB, free: 3.727 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.27e-05/0.03913, allocations: 8 kB / 1.025 GB, free: 3.719 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002194/0.03935, allocations: 19.97 kB / 1.025 GB, free: 3.699 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.006e-05/0.03941, allocations: 27.91 kB / 1.025 GB, free: 3.672 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/0.03943, allocations: 11.94 kB / 1.025 GB, free: 3.66 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001703/0.0396, allocations: 152.2 kB / 1.025 GB, free: 3.512 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.0396, allocations: 0 / 1.025 GB, free: 3.512 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0005186/0.04012, allocations: 95.86 kB / 1.025 GB, free: 3.418 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002644/0.04038, allocations: 153.1 kB / 1.025 GB, free: 3.262 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.00105/0.04143, allocations: 0.5615 MB / 1.026 GB, free: 2.676 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.04144, allocations: 4.062 kB / 1.026 GB, free: 2.672 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0005912/0.04203, allocations: 395.2 kB / 1.026 GB, free: 2.262 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004992/0.04253, allocations: 41.45 kB / 1.026 GB, free: 2.223 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.04365, allocations: 0.6145 MB / 1.027 GB, free: 1.559 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004472/0.04409, allocations: 177 kB / 1.027 GB, free: 1.363 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001684/0.04426, allocations: 62.23 kB / 1.027 GB, free: 1.305 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.418e-05/0.04432, allocations: 20.5 kB / 1.027 GB, free: 1.285 MB / 0.9792 GB Notification: Performance of SimCode: time 4.11e-07/0.04432, allocations: 0 / 1.027 GB, free: 1.285 MB / 0.9792 GB Notification: Performance of Templates: time 0.009533/0.05385, allocations: 4.154 MB / 1.031 GB, free: 13.19 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.872760130092502]