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.0009763/0.0009763, allocations: 85.41 kB / 20.83 MB, free: 3.629 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.001119/0.001119, allocations: 169 kB / 24.25 MB, free: 208 kB / 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.9233/0.9233, allocations: 177.1 MB / 204.7 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 179] 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 1.882/1.882, allocations: 389.6 MB / 0.6355 GB, free: 12.28 MB / 0.6042 GB " [Timeout remaining time 178] 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.553e-06/1.553e-06, allocations: 0 / 0.7753 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.347e-05/1.502e-05, allocations: 4.406 kB / 0.7753 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.00333/0.003345, allocations: 2.667 MB / 0.7779 GB, free: 2.652 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001862/0.005207, allocations: 1.586 MB / 0.7795 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.005313, allocations: 5.719 kB / 0.7795 GB, free: 1.062 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0004505/0.005763, allocations: 139.2 kB / 0.7796 GB, free: 0.9258 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002558/0.006019, allocations: 167.8 kB / 0.7798 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003048/0.006324, allocations: 226.7 kB / 0.78 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002496/0.006573, allocations: 338.8 kB / 0.7803 GB, free: 216 kB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002204/0.006794, allocations: 159 kB / 0.7805 GB, free: 52 kB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002011/0.006995, allocations: 195.5 kB / 0.7807 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.007184, allocations: 131.6 kB / 0.7808 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.836e-05/0.007212, allocations: 20 kB / 0.7808 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00035/0.007562, allocations: 330 kB / 0.7811 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.741e-05/0.007639, allocations: 95.72 kB / 0.7812 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.048e-05/0.0077, allocations: 79.83 kB / 0.7813 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003836/0.008083, allocations: 390.7 kB / 0.7817 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.008085, allocations: 0 / 0.7817 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.11e-07/0.008086, allocations: 0 / 0.7817 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.00809, allocations: 0 / 0.7817 GB, free: 14.84 MB / 0.7448 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.0005069/0.008597, allocations: 469.9 kB / 0.7821 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.008629, allocations: 9.344 kB / 0.7821 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004369/0.009066, allocations: 136.7 kB / 0.7823 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.009253, allocations: 196.1 kB / 0.7824 GB, free: 14 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.009265, allocations: 14 kB / 0.7825 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.009291, allocations: 24.31 kB / 0.7825 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.009533, allocations: 259.9 kB / 0.7827 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.009542, allocations: 1 kB / 0.7827 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.993e-05/0.009562, allocations: 16.36 kB / 0.7827 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.083e-05/0.009593, allocations: 28.89 kB / 0.7828 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.009701, allocations: 88.31 kB / 0.7829 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.01085, allocations: 1.018 MB / 0.7838 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.01104, allocations: 186.6 kB / 0.784 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.11e-05/0.01108, allocations: 34.36 kB / 0.7841 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.078e-05/0.01112, allocations: 12.62 kB / 0.7841 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.01114, allocations: 39.66 kB / 0.7841 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.283e-06/0.01114, allocations: 0 / 0.7841 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0005112/0.01165, allocations: 252.9 kB / 0.7844 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.01168, allocations: 81.11 kB / 0.7844 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.824e-05/0.01178, allocations: 191.8 kB / 0.7846 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.01179, allocations: 29.7 kB / 0.7846 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.05e-05/0.01185, allocations: 172.1 kB / 0.7848 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.01188, allocations: 56.11 kB / 0.7849 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-05/0.01193, allocations: 50.58 kB / 0.7849 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.224e-05/0.01201, allocations: 330.8 kB / 0.7852 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.002e-05/0.01204, allocations: 20 kB / 0.7852 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.699e-05/0.0121, allocations: 110.1 kB / 0.7853 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.01223, allocations: 154.8 kB / 0.7855 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.01223, allocations: 4 kB / 0.7855 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000256/0.01249, allocations: 207.5 kB / 0.7857 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.0125, allocations: 4 kB / 0.7857 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.0125, allocations: 5.031 kB / 0.7857 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002044/0.01271, allocations: 70.17 kB / 0.7858 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.01282, allocations: 51.91 kB / 0.7858 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007369/0.01356, allocations: 1.726 MB / 0.7875 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.339e-05/0.01363, allocations: 28.66 kB / 0.7875 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.01364, allocations: 4 kB / 0.7875 GB, free: 8.41 MB / 0.7448 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 (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.248e-05/0.01372, allocations: 125.4 kB / 0.7877 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.368e-05/0.01375, allocations: 22.52 kB / 0.7877 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002225/0.01397, allocations: 166.2 kB / 0.7878 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.01397, allocations: 4 kB / 0.7878 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.01398, allocations: 14.31 kB / 0.7879 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.01398, allocations: 3.984 kB / 0.7879 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004544/0.01444, allocations: 0.5194 MB / 0.7884 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.01444, allocations: 5.656 kB / 0.7884 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.169e-05/0.01449, allocations: 23.92 kB / 0.7884 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001487/0.01464, allocations: 72.34 kB / 0.7885 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.01465, allocations: 4.938 kB / 0.7885 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006515/0.0153, allocations: 1.739 MB / 0.7902 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.0153, allocations: 0 / 0.7902 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005007/0.0158, allocations: 449.9 kB / 0.7906 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.292e-05/0.01584, allocations: 31.83 kB / 0.7906 GB, free: 5 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.01586, allocations: 18.27 kB / 0.7906 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.661e-05/0.01595, allocations: 8 kB / 0.7906 GB, free: 4.977 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.609e-05/0.01597, allocations: 23.86 kB / 0.7907 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.01598, allocations: 7.984 kB / 0.7907 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.08e-05/0.01602, allocations: 56.55 kB / 0.7907 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01602, allocations: 0 / 0.7907 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002273/0.01625, allocations: 86.22 kB / 0.7908 GB, free: 4.805 MB / 0.7448 GB 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.0001149/0.01637, allocations: 100.3 kB / 0.7909 GB, free: 4.699 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000261/0.01663, allocations: 240.5 kB / 0.7911 GB, free: 4.449 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.01663, allocations: 0.9688 kB / 0.7911 GB, free: 4.449 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.01674, allocations: 176.1 kB / 0.7913 GB, free: 4.262 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.01698, allocations: 35.56 kB / 0.7913 GB, free: 4.23 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006622/0.01764, allocations: 493 kB / 0.7918 GB, free: 3.699 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.849e-05/0.0177, allocations: 100.2 kB / 0.7919 GB, free: 3.582 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.122e-05/0.01776, allocations: 22.3 kB / 0.7919 GB, free: 3.566 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.278e-05/0.01784, allocations: 83.36 kB / 0.792 GB, free: 3.484 MB / 0.7448 GB Notification: Performance of SimCode: time 1.072e-06/0.01784, allocations: 0.625 kB / 0.792 GB, free: 3.484 MB / 0.7448 GB Notification: Performance of Templates: time 0.004448/0.02229, allocations: 3.157 MB / 0.7951 GB, free: 484 kB / 0.7448 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: 4.909234626218677]