Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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.002402/0.002402, allocations: 85.48 kB / 19.44 MB, free: 340 kB / 13.93 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.002894/0.002894, allocations: 177.2 kB / 22.77 MB, free: 1.656 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.546/1.546, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.003242/0.003242, allocations: 228.3 kB / 259.8 MB, free: 12.85 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 1.175/1.175, allocations: 138.5 MB / 454.7 MB, free: 1.496 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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 0 / 0.5544 GB, free: 0.8359 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.977e-05/4.243e-05, allocations: 6.312 kB / 0.5544 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.02707/0.02712, allocations: 10.04 MB / 0.5642 GB, free: 6.746 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.006956/0.03407, allocations: 3.228 MB / 0.5673 GB, free: 3.508 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009134/0.03499, allocations: 47.62 kB / 0.5674 GB, free: 3.461 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002187/0.03717, allocations: 0.6178 MB / 0.568 GB, free: 2.84 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002148/0.03932, allocations: 0.8004 MB / 0.5687 GB, free: 2.035 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001934/0.04126, allocations: 0.7484 MB / 0.5695 GB, free: 1.285 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.004296/0.04555, allocations: 3.046 MB / 0.5725 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002438/0.04799, allocations: 1.419 MB / 0.5738 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003017/0.05101, allocations: 1.742 MB / 0.5755 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002923/0.05393, allocations: 1.617 MB / 0.5771 GB, free: 9.402 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0004979/0.05443, allocations: 236 kB / 0.5773 GB, free: 9.168 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001194/0.05562, allocations: 483.2 kB / 0.5778 GB, free: 8.695 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0015/0.05712, allocations: 1.165 MB / 0.5789 GB, free: 7.527 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.001394/0.05852, allocations: 0.7914 MB / 0.5797 GB, free: 6.734 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.005833/0.06435, allocations: 3.814 MB / 0.5834 GB, free: 2.91 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.06436, allocations: 4 kB / 0.5834 GB, free: 2.906 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.375e-06/0.06436, allocations: 0 / 0.5834 GB, free: 2.906 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001151/0.06447, allocations: 0 / 0.5834 GB, free: 2.906 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.006544/0.07102, allocations: 2.435 MB / 0.5858 GB, free: 432 kB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.07107, allocations: 8.75 kB / 0.5858 GB, free: 424 kB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009875/0.08094, allocations: 1.664 MB / 0.5875 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003933/0.08488, allocations: 1.189 MB / 0.5886 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001316/0.08501, allocations: 119.3 kB / 0.5887 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005336/0.08554, allocations: 148.3 kB / 0.5889 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004811/0.09035, allocations: 2.03 MB / 0.5909 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.836e-05/0.0904, allocations: 8.172 kB / 0.5909 GB, free: 11.08 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002262/0.09063, allocations: 70.2 kB / 0.5909 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003044/0.09093, allocations: 203.1 kB / 0.5911 GB, free: 10.81 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003349/0.09428, allocations: 1.07 MB / 0.5922 GB, free: 9.738 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2486/0.3429, allocations: 10.67 MB / 0.6026 GB, free: 92.21 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/0.3444, allocations: 0.6651 MB / 0.6032 GB, free: 92.17 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009926/0.3454, allocations: 497.9 kB / 0.6037 GB, free: 92.15 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001018/0.3455, allocations: 18.12 kB / 0.6037 GB, free: 92.15 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.3455, allocations: 47.05 kB / 0.6038 GB, free: 92.11 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=104): time 2.795e-06/0.3455, allocations: 0.75 kB / 0.6038 GB, free: 92.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=183): time 0.03521/0.3807, allocations: 9.763 MB / 0.6133 GB, free: 91.45 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.3808, allocations: 75.25 kB / 0.6134 GB, free: 91.38 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001432/0.3822, allocations: 1.118 MB / 0.6145 GB, free: 90.93 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002756/0.3825, allocations: 57.27 kB / 0.6145 GB, free: 90.88 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004998/0.383, allocations: 0.9079 MB / 0.6154 GB, free: 90.27 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006111/0.3836, allocations: 0.7187 MB / 0.6161 GB, free: 89.72 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008352/0.3844, allocations: 411.3 kB / 0.6165 GB, free: 89.51 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.46e-05/0.3845, allocations: 478.8 kB / 0.617 GB, free: 89.04 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/0.3859, allocations: 0.5611 MB / 0.6175 GB, free: 88.93 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001724/0.3876, allocations: 1.127 MB / 0.6186 GB, free: 88.23 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003271/0.3909, allocations: 1.939 MB / 0.6205 GB, free: 87.21 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.959e-05/0.3909, allocations: 3.375 kB / 0.6205 GB, free: 87.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01687/0.4078, allocations: 5.054 MB / 0.6255 GB, free: 86.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.145e-05/0.4078, allocations: 9.375 kB / 0.6255 GB, free: 86.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.362e-05/0.4078, allocations: 9.094 kB / 0.6255 GB, free: 86.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01694/0.4248, allocations: 3.728 MB / 0.6291 GB, free: 84.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009147/0.4257, allocations: 194 kB / 0.6293 GB, free: 84.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03706/0.4627, allocations: 20.76 MB / 0.6496 GB, free: 67.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002084/0.4648, allocations: 100.7 kB / 0.6497 GB, free: 67.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002132/0.465, allocations: 72 kB / 0.6497 GB, free: 67.64 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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): 4 systems {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007135/0.4658, allocations: 300.2 kB / 0.65 GB, free: 67.34 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004241/0.4662, allocations: 203.1 kB / 0.6502 GB, free: 67.14 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01544/0.4816, allocations: 4.951 MB / 0.655 GB, free: 62.15 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/0.4816, allocations: 20 kB / 0.6551 GB, free: 62.13 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-05/0.4817, allocations: 28 kB / 0.6551 GB, free: 62.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-05/0.4817, allocations: 16.95 kB / 0.6551 GB, free: 62.09 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02044/0.5022, allocations: 7.905 MB / 0.6628 GB, free: 54.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.061e-05/0.5022, allocations: 4 kB / 0.6628 GB, free: 54.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004989/0.5027, allocations: 119.8 kB / 0.6629 GB, free: 53.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01565/0.5183, allocations: 3.6 MB / 0.6665 GB, free: 50.37 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002856/0.5186, allocations: 32 kB / 0.6665 GB, free: 50.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.034/0.5526, allocations: 19.1 MB / 0.6851 GB, free: 30.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.5526, allocations: 7.938 kB / 0.6852 GB, free: 30.77 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01476/0.5674, allocations: 4.937 MB / 0.69 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001689/0.5691, allocations: 0.5101 MB / 0.6905 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000319/0.5694, allocations: 36 kB / 0.6905 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001337/0.5707, allocations: 99.81 kB / 0.6906 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007961/0.5715, allocations: 165.5 kB / 0.6908 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001554/0.5717, allocations: 48 kB / 0.6908 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007105/0.5724, allocations: 0.6749 MB / 0.6915 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.5724, allocations: 0 / 0.6915 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002979/0.5754, allocations: 1.004 MB / 0.6924 GB, free: 23.19 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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): 4 systems {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002755/0.5756, allocations: 147 kB / 0.6926 GB, free: 23.04 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006689/0.5823, allocations: 3.523 MB / 0.696 GB, free: 19.44 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.5823, allocations: 192 / 0.696 GB, free: 19.44 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006262/0.5886, allocations: 2.906 MB / 0.6989 GB, free: 16.48 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/0.5901, allocations: 238.6 kB / 0.6991 GB, free: 16.27 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005762/0.5958, allocations: 4.13 MB / 0.7031 GB, free: 12.08 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001053/0.5969, allocations: 1.134 MB / 0.7042 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005908/0.5975, allocations: 279.8 kB / 0.7045 GB, free: 10.63 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001644/0.5976, allocations: 68.48 kB / 0.7046 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of SimCode: time 1.032e-06/0.5976, allocations: 0 / 0.7046 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of Templates: time 0.1/0.6977, allocations: 65.64 MB / 0.7687 GB, free: 8.965 MB / 0.573 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.560719161992893]