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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 101.7 kB / 19.59 MB, free: 2.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 192.8 kB / 22.85 MB, free: 5.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 225.6 MB / 251.5 MB, free: 13.04 MB / 206.1 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.002333/0.002333, allocations: 285.4 kB / 307 MB, free: 8.379 MB / 238.1 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 1.109/1.109, allocations: 180.8 MB / 0.5304 GB, free: 14.53 MB / 382.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002663/0.002663, allocations: 101.3 kB / 0.7311 GB, free: 38.8 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1427, allocations: 94.19 MB / 0.8231 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01207/0.1548, allocations: 10.43 MB / 0.8333 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004853/0.1596, allocations: 3.24 MB / 0.8364 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003234/0.16, allocations: 51.62 kB / 0.8365 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001506/0.1615, allocations: 0.6336 MB / 0.8371 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001219/0.1627, allocations: 0.7662 MB / 0.8378 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001291/0.164, allocations: 0.7591 MB / 0.8386 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002716/0.1667, allocations: 2.992 MB / 0.8415 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001579/0.1683, allocations: 1.295 MB / 0.8428 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001307/0.1696, allocations: 1.281 MB / 0.844 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001943/0.1715, allocations: 1.706 MB / 0.8457 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002815/0.1718, allocations: 232 kB / 0.8459 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007301/0.1725, allocations: 483.4 kB / 0.8464 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000962/0.1735, allocations: 1.103 MB / 0.8475 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009929/0.1745, allocations: 1.112 MB / 0.8485 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003214/0.1777, allocations: 3.695 MB / 0.8521 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1777, allocations: 0 / 0.8521 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.193e-06/0.1777, allocations: 0 / 0.8521 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.786e-05/0.1777, allocations: 0 / 0.8521 GB, free: 4.188 MB / 0.5919 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.003307/0.181, allocations: 2.119 MB / 0.8542 GB, free: 2.027 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.01e-05/0.1811, allocations: 8.625 kB / 0.8542 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007698/0.1888, allocations: 1.334 MB / 0.8555 GB, free: 0.6836 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002126/0.1909, allocations: 1.258 MB / 0.8568 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.831e-05/0.191, allocations: 115.3 kB / 0.8569 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000291/0.1913, allocations: 148.3 kB / 0.857 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004835/0.1961, allocations: 3.437 MB / 0.8604 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.834e-05/0.1961, allocations: 11.92 kB / 0.8604 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001901/0.1963, allocations: 63.97 kB / 0.8604 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002335/0.1966, allocations: 207.1 kB / 0.8606 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004549/0.2011, allocations: 3.131 MB / 0.8637 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01688/0.218, allocations: 13.42 MB / 0.8768 GB, free: 9.891 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002331/0.2203, allocations: 1.607 MB / 0.8784 GB, free: 8.277 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001853/0.2222, allocations: 1.335 MB / 0.8797 GB, free: 6.934 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 9.539e-05/0.2223, allocations: 13 kB / 0.8797 GB, free: 6.918 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.2223, allocations: 43.5 kB / 0.8797 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=104): time 2.905e-06/0.2223, allocations: 0 / 0.8797 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of matching and sorting (n=183): time 0.1258/0.3481, allocations: 36.2 MB / 0.9151 GB, free: 2.633 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.163e-05/0.3482, allocations: 73.41 kB / 0.9151 GB, free: 2.551 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001484/0.3497, allocations: 1.05 MB / 0.9162 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.000259/0.35, allocations: 57.7 kB / 0.9162 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006295/0.3506, allocations: 0.8093 MB / 0.917 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006387/0.3512, allocations: 0.6547 MB / 0.9177 GB, free: 15.93 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007402/0.352, allocations: 363.4 kB / 0.918 GB, free: 15.57 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.3521, allocations: 309.1 kB / 0.9183 GB, free: 15.26 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002811/0.3549, allocations: 1.932 MB / 0.9202 GB, free: 13.33 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003071/0.358, allocations: 2.289 MB / 0.9224 GB, free: 10.92 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006014/0.364, allocations: 4.384 MB / 0.9267 GB, free: 6.41 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.364, allocations: 3.938 kB / 0.9267 GB, free: 6.406 MB / 0.67 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.0198/0.3838, allocations: 8.87 MB / 0.9354 GB, free: 13.51 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.161e-05/0.3838, allocations: 15.98 kB / 0.9354 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.18e-05/0.3838, allocations: 11.98 kB / 0.9354 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01566/0.3995, allocations: 4.974 MB / 0.9402 GB, free: 8.496 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008071/0.4003, allocations: 191.7 kB / 0.9404 GB, free: 8.309 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05673/0.457, allocations: 38.53 MB / 0.9781 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/0.4587, allocations: 107.9 kB / 0.9782 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001849/0.4589, allocations: 71.98 kB / 0.9782 GB, free: 1.133 MB / 0.7169 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.00133/0.4602, allocations: 0.8062 MB / 0.979 GB, free: 324 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002922/0.4605, allocations: 147.1 kB / 0.9792 GB, free: 176 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01925/0.4797, allocations: 8.734 MB / 0.9877 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.796e-05/0.4797, allocations: 16 kB / 0.9877 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.413e-05/0.4798, allocations: 32 kB / 0.9877 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.898e-05/0.4798, allocations: 11.95 kB / 0.9877 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02539/0.5052, allocations: 13.24 MB / 1.001 GB, free: 9.953 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.365e-06/0.5052, allocations: 0 / 1.001 GB, free: 9.953 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004307/0.5056, allocations: 127.8 kB / 1.001 GB, free: 9.828 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01508/0.5207, allocations: 4.816 MB / 1.005 GB, free: 4.992 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001686/0.5209, allocations: 32 kB / 1.006 GB, free: 4.961 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3577/0.8786, allocations: 36.45 MB / 1.041 GB, free: 162.4 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.8786, allocations: 10.16 kB / 1.041 GB, free: 162.4 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01477/0.8934, allocations: 8.452 MB / 1.049 GB, free: 156.7 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001038/0.8944, allocations: 0.5809 MB / 1.05 GB, free: 156.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002169/0.8947, allocations: 28 kB / 1.05 GB, free: 156.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009789/0.8956, allocations: 99.59 kB / 1.05 GB, free: 156 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007256/0.8964, allocations: 175.4 kB / 1.05 GB, free: 155.8 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001337/0.8965, allocations: 48.62 kB / 1.05 GB, free: 155.8 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006562/0.8971, allocations: 0.7382 MB / 1.051 GB, free: 155 MB / 0.7481 GB Notification: Performance of sort global known variables: time 9e-08/0.8971, allocations: 0 / 1.051 GB, free: 155 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002138/0.8993, allocations: 1.003 MB / 1.052 GB, free: 154 MB / 0.7481 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.0002202/0.8995, allocations: 144.9 kB / 1.052 GB, free: 153.9 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.006677/0.9062, allocations: 5.74 MB / 1.058 GB, free: 148.1 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.9062, allocations: 0 / 1.058 GB, free: 148.1 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.005404/0.9116, allocations: 3.778 MB / 1.061 GB, free: 144.3 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.9127, allocations: 246.2 kB / 1.062 GB, free: 144.1 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005325/0.918, allocations: 5.185 MB / 1.067 GB, free: 138.9 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001012/0.919, allocations: 1.865 MB / 1.069 GB, free: 137 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0005433/0.9195, allocations: 352.1 kB / 1.069 GB, free: 136.7 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/0.9197, allocations: 63.14 kB / 1.069 GB, free: 136.6 MB / 0.7481 GB Notification: Performance of SimCode: time 9.42e-07/0.9197, allocations: 0 / 1.069 GB, free: 136.6 MB / 0.7481 GB Notification: Performance of Templates: time 0.05722/0.9769, allocations: 63.52 MB / 1.131 GB, free: 73.31 MB / 0.7481 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=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.977410972998769] Failed to read output from testmodel.py, exit status != 0: 0.983663412000169 0.992165979 0.812471667 Calling exit ...