Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.0007539/0.0007539, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007621/0.0007621, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8505/0.8505, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.001368/0.001368, allocations: 225 kB / 260.2 MB, free: 13.02 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.6608/0.6608, allocations: 138.4 MB / 455.1 MB, free: 29.98 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.6475 GB, free: 1.387 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.963e-05/2.096e-05, allocations: 6.219 kB / 0.6475 GB, free: 1.379 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.2875/0.2875, allocations: 35.65 MB / 0.6824 GB, free: 36.35 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01301/0.3005, allocations: 10.95 MB / 0.6931 GB, free: 29.21 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001965/0.3025, allocations: 200.3 kB / 0.6932 GB, free: 29.12 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.004874/0.3073, allocations: 4.39 MB / 0.6975 GB, free: 26.65 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.003699/0.311, allocations: 2.402 MB / 0.6999 GB, free: 25.11 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003679/0.3147, allocations: 2.197 MB / 0.702 GB, free: 23.86 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.006968/0.3217, allocations: 9.458 MB / 0.7113 GB, free: 18.88 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005714/0.3274, allocations: 6.361 MB / 0.7175 GB, free: 14.82 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004947/0.3323, allocations: 5.783 MB / 0.7231 GB, free: 11.1 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003255/0.3356, allocations: 4.194 MB / 0.7272 GB, free: 8.734 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.000732/0.3363, allocations: 0.8217 MB / 0.728 GB, free: 8.613 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001719/0.3381, allocations: 1.521 MB / 0.7295 GB, free: 7.09 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.001321/0.3394, allocations: 3.375 MB / 0.7328 GB, free: 3.707 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.001414/0.3408, allocations: 2.565 MB / 0.7353 GB, free: 1.137 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.007812/0.3486, allocations: 12.55 MB / 0.7476 GB, free: 4.551 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3486, allocations: 4 kB / 0.7476 GB, free: 4.547 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3486, allocations: 0 / 0.7476 GB, free: 4.547 MB / 0.573 GB Notification: Performance of Transformations before backend: time 9.19e-05/0.3487, allocations: 0 / 0.7476 GB, free: 4.547 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.006489/0.3552, allocations: 6.338 MB / 0.7538 GB, free: 14.15 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.3552, allocations: 8.75 kB / 0.7538 GB, free: 14.14 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002404/0.3576, allocations: 1.114 MB / 0.7549 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003915/0.3615, allocations: 3.568 MB / 0.7583 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001799/0.3617, allocations: 419.8 kB / 0.7587 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005306/0.3623, allocations: 0.5472 MB / 0.7593 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009007/0.3713, allocations: 10.28 MB / 0.7693 GB, free: 13.61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.691e-05/0.3713, allocations: 23.95 kB / 0.7693 GB, free: 13.58 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003708/0.3717, allocations: 244.3 kB / 0.7696 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005828/0.3723, allocations: 422.9 kB / 0.77 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00715/0.3795, allocations: 7.125 MB / 0.7769 GB, free: 5.797 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01889/0.3983, allocations: 25.31 MB / 0.8016 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002752/0.4011, allocations: 2.906 MB / 0.8045 GB, free: 8.984 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001866/0.403, allocations: 1.934 MB / 0.8064 GB, free: 7.055 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.501e-05/0.403, allocations: 22 kB / 0.8064 GB, free: 7.035 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.4031, allocations: 60.56 kB / 0.8065 GB, free: 6.965 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=209): time 3.827e-06/0.4031, allocations: 7.938 kB / 0.8065 GB, free: 6.957 MB / 0.6355 GB Notification: Performance of matching and sorting (n=212): time 0.01349/0.4166, allocations: 10.26 MB / 0.8165 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.4166, allocations: 73.41 kB / 0.8165 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00144/0.418, allocations: 1.833 MB / 0.8183 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.24e-05/0.4181, allocations: 65.7 kB / 0.8184 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001068/0.4192, allocations: 2.469 MB / 0.8208 GB, free: 8.176 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003689/0.4196, allocations: 0.7591 MB / 0.8215 GB, free: 7.41 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004501/0.42, allocations: 477.5 kB / 0.822 GB, free: 6.938 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.417e-05/0.4201, allocations: 305.1 kB / 0.8223 GB, free: 6.637 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00125/0.4213, allocations: 1.376 MB / 0.8236 GB, free: 5.258 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001571/0.4229, allocations: 2.1 MB / 0.8257 GB, free: 2.836 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003172/0.4261, allocations: 3.77 MB / 0.8294 GB, free: 14.75 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/0.4261, allocations: 10.16 kB / 0.8294 GB, free: 14.75 MB / 0.6667 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.004945/0.431, allocations: 5.003 MB / 0.8343 GB, free: 9.719 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.4311, allocations: 12 kB / 0.8343 GB, free: 9.707 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.988e-05/0.4311, allocations: 28.83 kB / 0.8343 GB, free: 9.68 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002081/0.4332, allocations: 1.586 MB / 0.8359 GB, free: 8.086 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008474/0.434, allocations: 456.1 kB / 0.8363 GB, free: 7.641 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01405/0.4481, allocations: 17.77 MB / 0.8536 GB, free: 5.461 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/0.4491, allocations: 147.9 kB / 0.8538 GB, free: 5.316 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/0.4493, allocations: 108 kB / 0.8539 GB, free: 5.211 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002766/0.452, allocations: 1.942 MB / 0.8558 GB, free: 3.258 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002343/0.4523, allocations: 282.2 kB / 0.8561 GB, free: 2.98 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004316/0.4566, allocations: 4.389 MB / 0.8603 GB, free: 14.56 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.4566, allocations: 27.94 kB / 0.8604 GB, free: 14.54 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/0.4566, allocations: 16 kB / 0.8604 GB, free: 14.52 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.4566, allocations: 11.95 kB / 0.8604 GB, free: 14.51 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009026/0.4656, allocations: 8.343 MB / 0.8685 GB, free: 6.043 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.365e-06/0.4656, allocations: 20.02 kB / 0.8686 GB, free: 6.023 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004983/0.4661, allocations: 231.6 kB / 0.8688 GB, free: 5.797 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001852/0.468, allocations: 1.418 MB / 0.8702 GB, free: 4.367 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.113e-05/0.4681, allocations: 40 kB / 0.8702 GB, free: 4.328 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01356/0.4816, allocations: 17.78 MB / 0.8876 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.4816, allocations: 10.62 kB / 0.8876 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004619/0.4863, allocations: 4.474 MB / 0.8919 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007905/0.4871, allocations: 0.5644 MB / 0.8925 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001775/0.4872, allocations: 39.95 kB / 0.8925 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006275/0.4879, allocations: 115.9 kB / 0.8926 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000316/0.4882, allocations: 189.5 kB / 0.8928 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.511e-05/0.4883, allocations: 60 kB / 0.8929 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001078/0.4893, allocations: 1.172 MB / 0.894 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.4893, allocations: 0 / 0.894 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002076/0.4914, allocations: 1.137 MB / 0.8951 GB, free: 10.29 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002121/0.4916, allocations: 159.1 kB / 0.8953 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004461/0.4961, allocations: 4.528 MB / 0.8997 GB, free: 5.539 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.4961, allocations: 7.938 kB / 0.8997 GB, free: 5.531 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002462/0.4986, allocations: 2.794 MB / 0.9025 GB, free: 2.691 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001923/0.5005, allocations: 0.817 MB / 0.9032 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01053/0.511, allocations: 10.3 MB / 0.9133 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00262/0.5136, allocations: 3.259 MB / 0.9165 GB, free: 4.211 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003573/0.514, allocations: 156.5 kB / 0.9166 GB, free: 4.059 MB / 0.7448 GB Notification: Performance of SimCode: time 7.92e-07/0.514, allocations: 0 / 0.9166 GB, free: 4.059 MB / 0.7448 GB Notification: Performance of Templates: time 0.3128/0.8268, allocations: 172.9 MB / 1.085 GB, free: 114.2 MB / 0.7605 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.658378944732249] Failed to read output from testmodel.py, exit status != 0: 0.8321287147700787 0.838069928 0.488095486 Calling exit ...