Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.00109/0.00109, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001052/0.002142, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0008963/0.0008963, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008353/0.001732, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9453/0.9453, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09001/1.035, allocations: 53.67 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001353/0.001353, allocations: 241.2 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001181/0.002534, allocations: 467.5 kB / 244.7 MB, free: 14.18 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7145/0.7145, allocations: 138.7 MB / 384.1 MB, free: 0.5 MB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06875/0.7832, allocations: 42.4 MB / 426.5 MB, free: 5.969 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.028e-06/4.028e-06, allocations: 4 kB / 427.8 MB, free: 4.672 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.905e-05/2.307e-05, allocations: 2.312 kB / 427.8 MB, free: 4.668 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004822/0.004845, allocations: 2.69 MB / 430.5 MB, free: 1.961 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003201/0.008046, allocations: 1.562 MB / 432 MB, free: 396 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001703/0.008216, allocations: 7.938 kB / 432 MB, free: 388 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00069/0.008906, allocations: 179.2 kB / 432.2 MB, free: 208 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004484/0.009355, allocations: 187 kB / 432.4 MB, free: 20 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1832/0.1926, allocations: 224.2 kB / 432.6 MB, free: 1.152 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004844/0.1931, allocations: 359.1 kB / 433 MB, free: 1.141 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000265/0.1933, allocations: 150.5 kB / 433.1 MB, free: 1.125 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003119/0.1936, allocations: 219.7 kB / 433.3 MB, free: 1.109 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002773/0.1939, allocations: 151.7 kB / 433.5 MB, free: 1.094 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.104e-05/0.1939, allocations: 22.94 kB / 433.5 MB, free: 1.094 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005267/0.1945, allocations: 324.6 kB / 433.8 MB, free: 1.082 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.512e-05/0.1946, allocations: 77.94 kB / 433.9 MB, free: 1.074 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.231e-05/0.1946, allocations: 73.06 kB / 434 MB, free: 1.062 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000462/0.1951, allocations: 350.3 kB / 434.3 MB, free: 1.027 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.494e-05/0.1951, allocations: 0.5156 kB / 434.3 MB, free: 1.027 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1951, allocations: 0.625 kB / 434.3 MB, free: 1.027 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.478e-05/0.1951, allocations: 1.812 kB / 434.3 MB, free: 1.027 MB / 410.7 MB 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.0006643/0.1958, allocations: 0.5147 MB / 434.8 MB, free: 16.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.1958, allocations: 14.5 kB / 434.8 MB, free: 16.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005228/0.1963, allocations: 219.7 kB / 435 MB, free: 16.6 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.1966, allocations: 193.8 kB / 435.2 MB, free: 16.46 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.1966, allocations: 17.28 kB / 435.2 MB, free: 16.46 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.1966, allocations: 22.78 kB / 435.3 MB, free: 16.46 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000267/0.1969, allocations: 268.1 kB / 435.5 MB, free: 16.31 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.1969, allocations: 1.562 kB / 435.5 MB, free: 16.31 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.851e-05/0.1969, allocations: 14.11 kB / 435.5 MB, free: 16.31 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-05/0.1969, allocations: 31.8 kB / 435.6 MB, free: 16.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.1971, allocations: 82.52 kB / 435.7 MB, free: 16.3 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.1981, allocations: 1.018 MB / 436.7 MB, free: 15.65 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.1983, allocations: 182 kB / 436.9 MB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.62e-05/0.1983, allocations: 34.59 kB / 436.9 MB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.732e-05/0.1984, allocations: 12 kB / 436.9 MB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.1984, allocations: 41.3 kB / 436.9 MB, free: 15.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=16): time 1.673e-06/0.1984, allocations: 1.812 kB / 436.9 MB, free: 15.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005617/0.1989, allocations: 246.7 kB / 437.2 MB, free: 15.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.199, allocations: 82.83 kB / 437.3 MB, free: 15.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.1991, allocations: 193.1 kB / 437.5 MB, free: 15.22 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.1991, allocations: 30.14 kB / 437.5 MB, free: 15.19 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.972e-05/0.1992, allocations: 163.6 kB / 437.6 MB, free: 15.06 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.1992, allocations: 66.44 kB / 437.7 MB, free: 15.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.757e-05/0.1993, allocations: 50.98 kB / 437.8 MB, free: 15 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.962e-05/0.1993, allocations: 328.7 kB / 438.1 MB, free: 14.69 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.953e-05/0.1994, allocations: 24.28 kB / 438.1 MB, free: 14.69 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.5e-05/0.1994, allocations: 97.61 kB / 438.2 MB, free: 14.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.1996, allocations: 156.9 kB / 438.3 MB, free: 14.51 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.1996, allocations: 1.469 kB / 438.3 MB, free: 14.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002846/0.1999, allocations: 199.6 kB / 438.5 MB, free: 14.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.1999, allocations: 6.094 kB / 438.6 MB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.1999, allocations: 8.969 kB / 438.6 MB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002366/0.2001, allocations: 76.88 kB / 438.6 MB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.2003, allocations: 52.33 kB / 438.7 MB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009024/0.2012, allocations: 1.734 MB / 440.4 MB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.433e-05/0.2012, allocations: 30.2 kB / 440.4 MB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.2013, allocations: 7.922 kB / 440.5 MB, free: 12.71 MB / 426.7 MB 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 8.902e-05/0.2014, allocations: 127.6 kB / 440.6 MB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.218e-05/0.2014, allocations: 18.27 kB / 440.6 MB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003584/0.2018, allocations: 163.8 kB / 440.8 MB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.2018, allocations: 3.172 kB / 440.8 MB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.2018, allocations: 2.156 kB / 440.8 MB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.2018, allocations: 4.688 kB / 440.8 MB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006063/0.2024, allocations: 0.5161 MB / 441.3 MB, free: 12.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.2024, allocations: 4.656 kB / 441.3 MB, free: 12.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.689e-05/0.2024, allocations: 26.83 kB / 441.3 MB, free: 12.17 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.035e-05/0.2025, allocations: 34.27 kB / 441.3 MB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001853/0.2027, allocations: 78.7 kB / 441.4 MB, free: 12.13 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.2027, allocations: 3.906 kB / 441.4 MB, free: 12.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008114/0.2035, allocations: 1.735 MB / 443.2 MB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.2035, allocations: 5.281 kB / 443.2 MB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003074/0.2038, allocations: 457.5 kB / 443.6 MB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.2038, allocations: 2.859 kB / 443.6 MB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.471e-05/0.2039, allocations: 10.48 kB / 443.6 MB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-05/0.204, allocations: 25.86 kB / 443.7 MB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.204, allocations: 4.25 kB / 443.7 MB, free: 10.05 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.646e-05/0.204, allocations: 58.23 kB / 443.7 MB, free: 10.04 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.204, allocations: 0 / 443.7 MB, free: 10.04 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002862/0.2043, allocations: 79.33 kB / 443.8 MB, free: 10.03 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001411/0.2044, allocations: 113.6 kB / 443.9 MB, free: 9.953 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002904/0.2047, allocations: 229.4 kB / 444.1 MB, free: 9.836 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.143e-05/0.2048, allocations: 4.078 kB / 444.1 MB, free: 9.836 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.2049, allocations: 181.2 kB / 444.3 MB, free: 9.715 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.2052, allocations: 56.09 kB / 444.4 MB, free: 9.711 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002185/0.2074, allocations: 0.5127 MB / 444.9 MB, free: 9.406 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.746e-05/0.2075, allocations: 97.22 kB / 445 MB, free: 9.336 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.217e-05/0.2075, allocations: 25.7 kB / 445 MB, free: 9.336 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.535e-05/0.2076, allocations: 82.98 kB / 445.1 MB, free: 9.289 MB / 426.7 MB Notification: Performance of SimCode: time 9.21e-07/0.2076, allocations: 0.9062 kB / 445.1 MB, free: 9.289 MB / 426.7 MB Notification: Performance of Templates: time 0.005745/0.2134, allocations: 3.213 MB / 448.3 MB, free: 8.879 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.33370160125196]