Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.0013/0.0013, allocations: 117.7 kB / 17.13 MB, free: 5.758 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.001339/0.001339, allocations: 194.1 kB / 20.08 MB, free: 2.848 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.435/1.435, allocations: 225.6 MB / 248.5 MB, free: 3.641 MB / 190.1 MB " [Timeout remaining time 178] 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.002492/0.002492, allocations: 284.1 kB / 303.6 MB, free: 3.695 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.092/1.092, allocations: 180.9 MB / 0.5268 GB, free: 2.734 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_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002873/0.002873, allocations: 104.2 kB / 0.7259 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5018/0.5046, allocations: 94.16 MB / 0.8179 GB, free: 7.438 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02535/0.53, allocations: 23.77 MB / 0.8411 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01324/0.5432, allocations: 6.529 MB / 0.8475 GB, free: 2.742 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002326/0.5456, allocations: 98.88 kB / 0.8476 GB, free: 2.711 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004708/0.5503, allocations: 1.527 MB / 0.8491 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005697/0.556, allocations: 1.937 MB / 0.8509 GB, free: 0.707 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005047/0.561, allocations: 1.466 MB / 0.8524 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.009825/0.5708, allocations: 6.906 MB / 0.8591 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008333/0.5792, allocations: 5.192 MB / 0.8642 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005527/0.5847, allocations: 2.874 MB / 0.867 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006915/0.5916, allocations: 3.74 MB / 0.8707 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001867/0.5935, allocations: 0.5318 MB / 0.8712 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00388/0.5974, allocations: 1.192 MB / 0.8723 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.003983/0.6013, allocations: 2.536 MB / 0.8748 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.004918/0.6063, allocations: 2.529 MB / 0.8773 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01147/0.6177, allocations: 8.546 MB / 0.8856 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.6177, allocations: 0 / 0.8856 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6177, allocations: 0 / 0.8856 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002034/0.6179, allocations: 4 kB / 0.8856 GB, free: 11.53 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.0106/0.6285, allocations: 4.55 MB / 0.8901 GB, free: 6.91 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.6286, allocations: 8.031 kB / 0.8901 GB, free: 6.902 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009421/0.638, allocations: 1.699 MB / 0.8917 GB, free: 5.199 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00624/0.6442, allocations: 2.717 MB / 0.8944 GB, free: 2.43 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002667/0.6445, allocations: 275.7 kB / 0.8947 GB, free: 2.16 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001282/0.6458, allocations: 356.3 kB / 0.895 GB, free: 1.812 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01529/0.6611, allocations: 7.491 MB / 0.9023 GB, free: 10.05 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001049/0.6612, allocations: 19.81 kB / 0.9023 GB, free: 10.03 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005382/0.6617, allocations: 159.9 kB / 0.9025 GB, free: 9.875 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006845/0.6624, allocations: 479.4 kB / 0.9029 GB, free: 9.406 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01176/0.6742, allocations: 5.701 MB / 0.9085 GB, free: 3.699 MB / 0.6388 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04356/0.7177, allocations: 31.56 MB / 0.9393 GB, free: 1.375 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003438/0.7212, allocations: 2.019 MB / 0.9413 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003634/0.7248, allocations: 2.119 MB / 0.9434 GB, free: 13.22 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002526/0.7251, allocations: 17.31 kB / 0.9434 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.464e-05/0.7251, allocations: 47.88 kB / 0.9434 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=146): time 4.017e-06/0.7251, allocations: 0 / 0.9434 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of matching and sorting (n=251): time 0.3363/1.061, allocations: 76.79 MB / 1.018 GB, free: 224 kB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.686e-05/1.061, allocations: 81.41 kB / 1.018 GB, free: 132 kB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003169/1.065, allocations: 1.67 MB / 1.02 GB, free: 14.41 MB / 0.7638 GB Notification: Performance of collectPreVariables (initialization): time 0.0005519/1.065, allocations: 65.7 kB / 1.02 GB, free: 14.34 MB / 0.7638 GB Notification: Performance of collectInitialEqns (initialization): time 0.001549/1.067, allocations: 1.799 MB / 1.022 GB, free: 12.53 MB / 0.7638 GB Notification: Performance of collectInitialBindings (initialization): time 0.001295/1.068, allocations: 0.8907 MB / 1.023 GB, free: 11.63 MB / 0.7638 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00146/1.07, allocations: 481.4 kB / 1.023 GB, free: 11.15 MB / 0.7638 GB Notification: Performance of setup shared object (initialization): time 0.0001425/1.07, allocations: 309.1 kB / 1.024 GB, free: 10.85 MB / 0.7638 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004503/1.074, allocations: 2.726 MB / 1.026 GB, free: 8.117 MB / 0.7638 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005117/1.079, allocations: 3.332 MB / 1.029 GB, free: 4.535 MB / 0.7638 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01012/1.089, allocations: 6.397 MB / 1.036 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.817e-05/1.089, allocations: 4 kB / 1.036 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.0361/1.126, allocations: 14.41 MB / 1.05 GB, free: 15.43 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.04e-05/1.126, allocations: 12 kB / 1.05 GB, free: 15.42 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.03e-05/1.126, allocations: 16 kB / 1.05 GB, free: 15.4 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03303/1.159, allocations: 9.249 MB / 1.059 GB, free: 6.125 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/1.16, allocations: 295.5 kB / 1.059 GB, free: 5.836 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09246/1.252, allocations: 52.4 MB / 1.11 GB, free: 0.5664 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003329/1.256, allocations: 223.7 kB / 1.111 GB, free: 352 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005075/1.256, allocations: 100 kB / 1.111 GB, free: 252 kB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003406/1.26, allocations: 1.59 MB / 1.112 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007369/1.26, allocations: 254.6 kB / 1.112 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03661/1.297, allocations: 14.47 MB / 1.127 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.04e-05/1.297, allocations: 28 kB / 1.127 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001599/1.297, allocations: 48 kB / 1.127 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-05/1.297, allocations: 11.95 kB / 1.127 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4284/1.726, allocations: 20.23 MB / 1.146 GB, free: 271 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-05/1.726, allocations: 7.062 kB / 1.146 GB, free: 271 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007583/1.726, allocations: 163.6 kB / 1.147 GB, free: 271 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02962/1.756, allocations: 9.004 MB / 1.155 GB, free: 270.9 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004942/1.756, allocations: 51.27 kB / 1.155 GB, free: 270.9 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07114/1.828, allocations: 51.96 MB / 1.206 GB, free: 248.8 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-06/1.828, allocations: 7.719 kB / 1.206 GB, free: 248.8 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02774/1.855, allocations: 14.09 MB / 1.22 GB, free: 240.9 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001877/1.857, allocations: 0.8698 MB / 1.221 GB, free: 240.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005087/1.858, allocations: 51.94 kB / 1.221 GB, free: 240 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002027/1.86, allocations: 207.7 kB / 1.221 GB, free: 239.8 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00115/1.861, allocations: 242.7 kB / 1.221 GB, free: 239.6 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002051/1.861, allocations: 64 kB / 1.221 GB, free: 239.5 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001201/1.862, allocations: 1.125 MB / 1.222 GB, free: 238.4 MB / 0.8731 GB Notification: Performance of sort global known variables: time 8.1e-08/1.862, allocations: 0 / 1.222 GB, free: 238.4 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.004453/1.867, allocations: 1.613 MB / 1.224 GB, free: 236.8 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003947/1.867, allocations: 168.2 kB / 1.224 GB, free: 236.6 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01928/1.886, allocations: 10.19 MB / 1.234 GB, free: 226.3 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/1.886, allocations: 0 / 1.234 GB, free: 226.3 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.01564/1.902, allocations: 7.018 MB / 1.241 GB, free: 219.3 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003031/1.905, allocations: 0.5555 MB / 1.241 GB, free: 218.8 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01444/1.92, allocations: 9.444 MB / 1.251 GB, free: 209.2 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003084/1.923, allocations: 3.302 MB / 1.254 GB, free: 205.9 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004288/1.923, allocations: 103.4 kB / 1.254 GB, free: 205.8 MB / 0.8731 GB Notification: Performance of SimCode: time 1.132e-06/1.923, allocations: 0 / 1.254 GB, free: 205.8 MB / 0.8731 GB Notification: Performance of Templates: time 0.1314/2.054, allocations: 188 MB / 1.438 GB, free: 17.69 MB / 0.8731 GB " [Timeout remaining time 658] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 19.019416528055444] Failed to read output from testmodel.py, exit status != 0: 2.0631840149872005 2.071607691 1.451429334 Calling exit ...