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.0009249/0.0009249, allocations: 81.86 kB / 19.87 MB, free: 4.617 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.00096/0.00096, allocations: 169.7 kB / 23.27 MB, free: 1.219 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.9323/0.9323, allocations: 177.1 MB / 203.7 MB, free: 5.523 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.00184/0.00184, allocations: 236.7 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.7228/0.7228, allocations: 138.4 MB / 455.5 MB, free: 29.96 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 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.502e-06/1.502e-06, allocations: 0 / 0.5556 GB, free: 15.89 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.175e-05/2.325e-05, allocations: 2.312 kB / 0.5556 GB, free: 15.89 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003067/0.003091, allocations: 2.593 MB / 0.5581 GB, free: 13.28 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001647/0.004737, allocations: 1.535 MB / 0.5596 GB, free: 11.73 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.283e-05/0.00483, allocations: 4 kB / 0.5596 GB, free: 11.73 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004275/0.005258, allocations: 143.3 kB / 0.5597 GB, free: 11.59 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002531/0.005511, allocations: 163.1 kB / 0.5599 GB, free: 11.43 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003014/0.005812, allocations: 251 kB / 0.5601 GB, free: 11.18 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002507/0.006063, allocations: 334.8 kB / 0.5604 GB, free: 10.86 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002153/0.006278, allocations: 156.8 kB / 0.5606 GB, free: 10.7 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001944/0.006472, allocations: 191.5 kB / 0.5608 GB, free: 10.51 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001938/0.006666, allocations: 139.6 kB / 0.5609 GB, free: 10.38 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.771e-05/0.006694, allocations: 20 kB / 0.5609 GB, free: 10.36 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002921/0.006986, allocations: 319.2 kB / 0.5612 GB, free: 10.04 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.435e-05/0.00706, allocations: 99.73 kB / 0.5613 GB, free: 9.945 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.174e-05/0.007122, allocations: 83.83 kB / 0.5614 GB, free: 9.863 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003663/0.007488, allocations: 378.8 kB / 0.5618 GB, free: 9.492 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.007491, allocations: 3.938 kB / 0.5618 GB, free: 9.488 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.007491, allocations: 0 / 0.5618 GB, free: 9.488 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.007495, allocations: 0 / 0.5618 GB, free: 9.488 MB / 490.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.0004922/0.007987, allocations: 0.5854 MB / 0.5623 GB, free: 8.867 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.00802, allocations: 13.92 kB / 0.5624 GB, free: 8.855 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000437/0.008457, allocations: 152.5 kB / 0.5625 GB, free: 8.707 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.00864, allocations: 200.2 kB / 0.5627 GB, free: 8.484 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.008652, allocations: 16.86 kB / 0.5627 GB, free: 8.469 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.008672, allocations: 16.38 kB / 0.5627 GB, free: 8.453 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002385/0.008911, allocations: 282 kB / 0.563 GB, free: 8.137 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.008919, allocations: 192 / 0.563 GB, free: 8.137 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.008936, allocations: 8.375 kB / 0.563 GB, free: 8.129 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.97e-05/0.008966, allocations: 28.42 kB / 0.563 GB, free: 8.102 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.009089, allocations: 107.3 kB / 0.5631 GB, free: 8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009857/0.01007, allocations: 1.367 MB / 0.5645 GB, free: 6.562 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.01026, allocations: 158 kB / 0.5646 GB, free: 6.383 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.788e-05/0.01031, allocations: 43.36 kB / 0.5647 GB, free: 6.332 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.397e-05/0.01036, allocations: 15.97 kB / 0.5647 GB, free: 6.316 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.01038, allocations: 37.39 kB / 0.5647 GB, free: 6.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 1.112e-06/0.01038, allocations: 0 / 0.5647 GB, free: 6.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=23): time 0.0008884/0.01127, allocations: 475.7 kB / 0.5652 GB, free: 5.781 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.01129, allocations: 81.11 kB / 0.5652 GB, free: 5.684 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.01142, allocations: 253.4 kB / 0.5655 GB, free: 5.418 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.01144, allocations: 29.7 kB / 0.5655 GB, free: 5.383 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.936e-05/0.01152, allocations: 223.2 kB / 0.5657 GB, free: 5.16 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.221e-05/0.01156, allocations: 87.25 kB / 0.5658 GB, free: 5.074 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.805e-05/0.01163, allocations: 71.31 kB / 0.5659 GB, free: 4.996 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.01174, allocations: 0.5078 MB / 0.5664 GB, free: 4.477 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.713e-05/0.01179, allocations: 35.97 kB / 0.5664 GB, free: 4.441 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.973e-05/0.01189, allocations: 157.5 kB / 0.5666 GB, free: 4.242 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.01205, allocations: 222 kB / 0.5668 GB, free: 3.98 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.01205, allocations: 4 kB / 0.5668 GB, free: 3.977 MB / 490.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003567/0.01241, allocations: 318 kB / 0.5671 GB, free: 3.645 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.01242, allocations: 12.03 kB / 0.5671 GB, free: 3.633 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.01243, allocations: 0 / 0.5671 GB, free: 3.633 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003075/0.01274, allocations: 146.6 kB / 0.5672 GB, free: 3.473 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.01285, allocations: 55.91 kB / 0.5673 GB, free: 3.418 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002186/0.01504, allocations: 6.016 MB / 0.5732 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.225e-05/0.01512, allocations: 8 kB / 0.5732 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.01513, allocations: 12 kB / 0.5732 GB, free: 13 MB / 0.4948 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): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 9.082e-05/0.01523, allocations: 180.4 kB / 0.5733 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.366e-05/0.01527, allocations: 27.86 kB / 0.5734 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003412/0.01561, allocations: 289.7 kB / 0.5736 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.01561, allocations: 7.938 kB / 0.5737 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.01562, allocations: 0 / 0.5737 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.01562, allocations: 7.984 kB / 0.5737 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006435/0.01626, allocations: 0.6851 MB / 0.5743 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.01627, allocations: 3.938 kB / 0.5743 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.963e-05/0.01633, allocations: 35.92 kB / 0.5744 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002509/0.01658, allocations: 134.9 kB / 0.5745 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.01659, allocations: 8.047 kB / 0.5745 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002138/0.01873, allocations: 6.075 MB / 0.5804 GB, free: 5.047 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.01873, allocations: 4 kB / 0.5804 GB, free: 5.043 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003794/0.01911, allocations: 0.5847 MB / 0.581 GB, free: 4.387 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.526e-05/0.01917, allocations: 51.98 kB / 0.5811 GB, free: 4.336 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.01918, allocations: 4 kB / 0.5811 GB, free: 4.332 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.01928, allocations: 8 kB / 0.5811 GB, free: 4.324 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.01932, allocations: 35.83 kB / 0.5811 GB, free: 4.289 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.01933, allocations: 12 kB / 0.5811 GB, free: 4.277 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.588e-05/0.01939, allocations: 168.1 kB / 0.5813 GB, free: 4.113 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01939, allocations: 0 / 0.5813 GB, free: 4.113 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003019/0.0197, allocations: 99.92 kB / 0.5814 GB, free: 4.016 MB / 0.4948 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): 3 systems {(1,1,100.0%), (1,1,100.0%), (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.0001396/0.01984, allocations: 150.2 kB / 0.5815 GB, free: 3.863 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004584/0.02029, allocations: 0.6763 MB / 0.5822 GB, free: 3.133 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.0203, allocations: 0 / 0.5822 GB, free: 3.133 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002635/0.02056, allocations: 0.5869 MB / 0.5827 GB, free: 2.488 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.02086, allocations: 48.05 kB / 0.5828 GB, free: 2.449 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000742/0.0216, allocations: 0.5838 MB / 0.5834 GB, free: 1.805 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.172e-05/0.02167, allocations: 112.1 kB / 0.5835 GB, free: 1.676 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.045e-05/0.02174, allocations: 26.3 kB / 0.5835 GB, free: 1.652 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.653e-05/0.02184, allocations: 110.2 kB / 0.5836 GB, free: 1.543 MB / 0.4948 GB Notification: Performance of SimCode: time 7.52e-07/0.02184, allocations: 7.938 kB / 0.5836 GB, free: 1.535 MB / 0.4948 GB Notification: Performance of Templates: time 0.005947/0.02779, allocations: 4.764 MB / 0.5883 GB, free: 12.83 MB / 0.5105 GB " [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.57577055785805]