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.0008548/0.0008548, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009017/0.0009017, allocations: 177 kB / 23.36 MB, free: 1.129 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 0.9498/0.9498, allocations: 177.1 MB / 203.8 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002482/0.002482, allocations: 254.4 kB / 260.5 MB, free: 12.67 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6778/0.6778, allocations: 138.4 MB / 402.2 MB, free: 0.5508 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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 1.102e-06/1.102e-06, allocations: 0 / 462.3 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.147e-06/1.025e-05, allocations: 2.312 kB / 462.3 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.002638/0.002649, allocations: 2.619 MB / 464.9 MB, free: 15.3 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001808/0.004457, allocations: 1.549 MB / 466.4 MB, free: 14.31 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.808e-05/0.004555, allocations: 7.812 kB / 466.5 MB, free: 14.31 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004253/0.00498, allocations: 153.1 kB / 466.6 MB, free: 14.22 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000289/0.005269, allocations: 167.4 kB / 466.8 MB, free: 14.13 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004461/0.005715, allocations: 248 kB / 467 MB, free: 13.96 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003095/0.006025, allocations: 332.6 kB / 467.3 MB, free: 13.67 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000202/0.006227, allocations: 163 kB / 467.5 MB, free: 13.51 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001881/0.006415, allocations: 188.9 kB / 467.7 MB, free: 13.32 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.006604, allocations: 139.6 kB / 467.8 MB, free: 13.19 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.006629, allocations: 20 kB / 467.8 MB, free: 13.17 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003505/0.00698, allocations: 300 kB / 468.1 MB, free: 12.88 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 7.33e-05/0.007053, allocations: 96.3 kB / 468.2 MB, free: 12.78 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 6.602e-05/0.007119, allocations: 87.75 kB / 468.3 MB, free: 12.7 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003502/0.007469, allocations: 379.3 kB / 468.7 MB, free: 12.32 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.443e-06/0.007471, allocations: 0.5625 kB / 468.7 MB, free: 12.32 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.007471, allocations: 0 / 468.7 MB, free: 12.32 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.935e-06/0.007474, allocations: 0.5625 kB / 468.7 MB, free: 12.32 MB / 426.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.0004725/0.007947, allocations: 475.3 kB / 469.1 MB, free: 11.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.645e-05/0.007973, allocations: 9.938 kB / 469.2 MB, free: 11.84 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004405/0.008414, allocations: 144.6 kB / 469.3 MB, free: 11.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.008591, allocations: 183.6 kB / 469.5 MB, free: 11.49 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.008605, allocations: 20.86 kB / 469.5 MB, free: 11.47 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.008629, allocations: 16.38 kB / 469.5 MB, free: 11.46 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002301/0.00886, allocations: 272.4 kB / 469.8 MB, free: 11.16 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.00887, allocations: 0.8906 kB / 469.8 MB, free: 11.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.008888, allocations: 9.094 kB / 469.8 MB, free: 11.15 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.117e-05/0.008919, allocations: 28.42 kB / 469.8 MB, free: 11.12 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.009034, allocations: 92.89 kB / 469.9 MB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008654/0.009899, allocations: 1.025 MB / 470.9 MB, free: 9.973 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.01008, allocations: 180.3 kB / 471.1 MB, free: 9.777 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.443e-05/0.01012, allocations: 37.72 kB / 471.1 MB, free: 9.734 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.89e-05/0.01016, allocations: 17.42 kB / 471.2 MB, free: 9.719 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.01018, allocations: 34.56 kB / 471.2 MB, free: 9.676 MB / 426.7 MB Notification: Performance of pre-optimization done (n=16): time 1.112e-06/0.01018, allocations: 1.625 kB / 471.2 MB, free: 9.676 MB / 426.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005033/0.01068, allocations: 249.3 kB / 471.4 MB, free: 9.422 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.01071, allocations: 86.56 kB / 471.5 MB, free: 9.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.861e-05/0.01081, allocations: 186.5 kB / 471.7 MB, free: 9.125 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.01082, allocations: 29.7 kB / 471.7 MB, free: 9.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.472e-05/0.01088, allocations: 164.1 kB / 471.9 MB, free: 8.926 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.746e-05/0.01091, allocations: 60.91 kB / 472 MB, free: 8.867 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.426e-05/0.01096, allocations: 54.38 kB / 472 MB, free: 8.809 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.186e-05/0.01102, allocations: 326.8 kB / 472.3 MB, free: 8.48 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.289e-05/0.01106, allocations: 27.98 kB / 472.4 MB, free: 8.453 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.374e-05/0.01112, allocations: 105.5 kB / 472.5 MB, free: 8.32 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.01123, allocations: 146.8 kB / 472.6 MB, free: 8.148 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.01124, allocations: 0.75 kB / 472.6 MB, free: 8.148 MB / 426.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002233/0.01146, allocations: 207.6 kB / 472.8 MB, free: 7.934 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.01147, allocations: 4 kB / 472.8 MB, free: 7.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.01147, allocations: 4.75 kB / 472.8 MB, free: 7.926 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002112/0.01169, allocations: 79.12 kB / 472.9 MB, free: 7.844 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.01179, allocations: 47.92 kB / 472.9 MB, free: 7.797 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006814/0.01247, allocations: 1.73 MB / 474.7 MB, free: 5.949 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.726e-05/0.01255, allocations: 24.78 kB / 474.7 MB, free: 5.926 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.01256, allocations: 4 kB / 474.7 MB, free: 5.922 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 7.515e-05/0.01264, allocations: 133.6 kB / 474.8 MB, free: 5.781 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.058e-05/0.01268, allocations: 19.92 kB / 474.8 MB, free: 5.762 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002236/0.0129, allocations: 168.4 kB / 475 MB, free: 5.59 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.0129, allocations: 4 kB / 475 MB, free: 5.586 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.0129, allocations: 3.938 kB / 475 MB, free: 5.582 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.01291, allocations: 4 kB / 475 MB, free: 5.578 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004471/0.01336, allocations: 0.5069 MB / 475.5 MB, free: 5.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.01336, allocations: 9.719 kB / 475.5 MB, free: 5.012 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.096e-05/0.01341, allocations: 28.42 kB / 475.6 MB, free: 4.984 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001562/0.01357, allocations: 78.64 kB / 475.6 MB, free: 4.902 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.01358, allocations: 3.984 kB / 475.6 MB, free: 4.898 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006348/0.01421, allocations: 1.748 MB / 477.4 MB, free: 3.023 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.01421, allocations: 5 kB / 477.4 MB, free: 3.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.01445, allocations: 448.5 kB / 477.8 MB, free: 2.539 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.198e-05/0.01449, allocations: 31.89 kB / 477.9 MB, free: 2.508 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.01451, allocations: 7.984 kB / 477.9 MB, free: 2.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.01461, allocations: 8.5 kB / 477.9 MB, free: 2.492 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.051e-05/0.01463, allocations: 12.67 kB / 477.9 MB, free: 2.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.01464, allocations: 8 kB / 477.9 MB, free: 2.473 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.437e-05/0.01468, allocations: 60.61 kB / 478 MB, free: 2.414 MB / 426.7 MB Notification: Performance of sort global known variables: time 2e-08/0.01468, allocations: 3.938 kB / 478 MB, free: 2.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002446/0.01493, allocations: 81.89 kB / 478 MB, free: 2.332 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.0001106/0.01504, allocations: 104.3 kB / 478.1 MB, free: 2.219 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002571/0.0153, allocations: 243.2 kB / 478.4 MB, free: 1.973 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.0153, allocations: 4 kB / 478.4 MB, free: 1.969 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.01541, allocations: 173.2 kB / 478.6 MB, free: 1.785 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.01567, allocations: 36.55 kB / 478.6 MB, free: 1.758 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006484/0.01632, allocations: 489.3 kB / 479.1 MB, free: 1.238 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.611e-05/0.01638, allocations: 100.3 kB / 479.2 MB, free: 1.121 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.206e-05/0.01644, allocations: 22.83 kB / 479.2 MB, free: 1.105 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.218e-05/0.01652, allocations: 80.25 kB / 479.3 MB, free: 1.027 MB / 426.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01652, allocations: 0 / 479.3 MB, free: 1.027 MB / 426.7 MB Notification: Performance of Templates: time 0.004492/0.02101, allocations: 3.159 MB / 482.4 MB, free: 14.12 MB / 442.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.3452856466174126]