Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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.0008295/0.0008295, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0008411/0.0008411, allocations: 178.2 kB / 23.22 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.84/0.84, allocations: 177.1 MB / 203.5 MB, free: 5.758 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.002242/0.002242, allocations: 226.7 kB / 260.2 MB, free: 13.05 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.6494/0.6494, allocations: 138.4 MB / 455.1 MB, free: 29.93 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_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 0.6475 GB, free: 1.312 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.796e-05/1.948e-05, allocations: 2.281 kB / 0.6475 GB, free: 1.309 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.2333/0.2333, allocations: 19.12 MB / 0.6662 GB, free: 46.5 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.007044/0.2403, allocations: 6.386 MB / 0.6725 GB, free: 42.38 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008333/0.2412, allocations: 112.7 kB / 0.6726 GB, free: 42.33 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002289/0.2435, allocations: 2.25 MB / 0.6748 GB, free: 41.07 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001678/0.2451, allocations: 1.269 MB / 0.676 GB, free: 40.28 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002214/0.2474, allocations: 1.31 MB / 0.6773 GB, free: 39.54 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002912/0.2503, allocations: 4.954 MB / 0.6821 GB, free: 37.25 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002883/0.2532, allocations: 3.159 MB / 0.6852 GB, free: 35.68 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002906/0.2561, allocations: 3.012 MB / 0.6881 GB, free: 34.24 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002182/0.2582, allocations: 2.178 MB / 0.6903 GB, free: 33.53 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.000428/0.2587, allocations: 433.8 kB / 0.6907 GB, free: 33.53 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001431/0.2601, allocations: 0.9572 MB / 0.6916 GB, free: 33.32 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.001207/0.2613, allocations: 1.785 MB / 0.6934 GB, free: 32.49 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.001075/0.2624, allocations: 1.333 MB / 0.6947 GB, free: 31.84 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.004452/0.2668, allocations: 6.647 MB / 0.7012 GB, free: 28.19 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.2668, allocations: 0 / 0.7012 GB, free: 28.19 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.274e-06/0.2668, allocations: 0 / 0.7012 GB, free: 28.19 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.955e-05/0.2669, allocations: 1.469 kB / 0.7012 GB, free: 28.19 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.003644/0.2705, allocations: 3.428 MB / 0.7045 GB, free: 25.85 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.2706, allocations: 14.14 kB / 0.7045 GB, free: 25.85 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001759/0.2723, allocations: 0.6597 MB / 0.7052 GB, free: 25.53 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002193/0.2745, allocations: 1.989 MB / 0.7071 GB, free: 24.25 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/0.2746, allocations: 223.8 kB / 0.7073 GB, free: 24.14 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003481/0.275, allocations: 296.5 kB / 0.7076 GB, free: 24.04 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004904/0.2799, allocations: 5.242 MB / 0.7127 GB, free: 20.6 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.398e-05/0.28, allocations: 10.47 kB / 0.7127 GB, free: 20.59 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002135/0.2802, allocations: 129.2 kB / 0.7129 GB, free: 20.5 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002618/0.2804, allocations: 232.3 kB / 0.7131 GB, free: 20.43 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003839/0.2843, allocations: 3.745 MB / 0.7167 GB, free: 18.5 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008797/0.2931, allocations: 13.1 MB / 0.7295 GB, free: 6.379 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009476/0.294, allocations: 1.235 MB / 0.7307 GB, free: 5.141 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000761/0.2948, allocations: 0.9841 MB / 0.7317 GB, free: 4.152 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.701e-05/0.2948, allocations: 9 kB / 0.7317 GB, free: 4.145 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.2948, allocations: 47.56 kB / 0.7317 GB, free: 4.09 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=107): time 2.685e-06/0.2948, allocations: 0 / 0.7317 GB, free: 4.09 MB / 0.5573 GB Notification: Performance of matching and sorting (n=138): time 0.01201/0.3069, allocations: 8.42 MB / 0.74 GB, free: 11.66 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.3069, allocations: 64.72 kB / 0.74 GB, free: 11.59 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008895/0.3078, allocations: 1.063 MB / 0.7411 GB, free: 10.52 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 6.329e-05/0.3078, allocations: 53.7 kB / 0.7411 GB, free: 10.46 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005493/0.3084, allocations: 1.339 MB / 0.7424 GB, free: 9.105 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002555/0.3087, allocations: 0.4919 MB / 0.7429 GB, free: 8.609 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002991/0.309, allocations: 287.5 kB / 0.7432 GB, free: 8.324 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 6.878e-05/0.309, allocations: 301.1 kB / 0.7435 GB, free: 8.027 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008457/0.3099, allocations: 0.9174 MB / 0.7444 GB, free: 7.109 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/0.3111, allocations: 1.318 MB / 0.7456 GB, free: 5.617 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002069/0.3132, allocations: 2.43 MB / 0.748 GB, free: 3.02 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.3132, allocations: 4.875 kB / 0.748 GB, free: 3.016 MB / 0.573 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003686/0.3169, allocations: 3.421 MB / 0.7514 GB, free: 15.57 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.3169, allocations: 18.09 kB / 0.7514 GB, free: 15.56 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.3169, allocations: 12 kB / 0.7514 GB, free: 15.55 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001801/0.3187, allocations: 1.187 MB / 0.7526 GB, free: 14.36 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005008/0.3192, allocations: 251.6 kB / 0.7528 GB, free: 14.11 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01082/0.3301, allocations: 13.27 MB / 0.7658 GB, free: 0.5508 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000714/0.3308, allocations: 87.97 kB / 0.7658 GB, free: 476 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.548e-05/0.3309, allocations: 64 kB / 0.7659 GB, free: 412 kB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001696/0.3326, allocations: 1.115 MB / 0.767 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.3327, allocations: 159 kB / 0.7671 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003334/0.336, allocations: 3.137 MB / 0.7702 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.336, allocations: 19.98 kB / 0.7702 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.336, allocations: 12 kB / 0.7702 GB, free: 11.92 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.3361, allocations: 7.969 kB / 0.7702 GB, free: 11.91 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005875/0.3419, allocations: 5.465 MB / 0.7756 GB, free: 6.348 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.3419, allocations: 4 kB / 0.7756 GB, free: 6.344 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002929/0.3422, allocations: 147.8 kB / 0.7757 GB, free: 6.199 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001562/0.3438, allocations: 1.063 MB / 0.7768 GB, free: 5.125 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.667e-05/0.3438, allocations: 31.94 kB / 0.7768 GB, free: 5.094 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01034/0.3542, allocations: 12.95 MB / 0.7894 GB, free: 7.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.3542, allocations: 4 kB / 0.7894 GB, free: 7.836 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003126/0.3573, allocations: 3.104 MB / 0.7925 GB, free: 4.648 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004825/0.3578, allocations: 342.9 kB / 0.7928 GB, free: 4.312 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.3579, allocations: 36.81 kB / 0.7928 GB, free: 4.277 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003999/0.3583, allocations: 82.33 kB / 0.7929 GB, free: 4.199 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/0.3585, allocations: 132.6 kB / 0.793 GB, free: 4.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.328e-05/0.3585, allocations: 39.98 kB / 0.7931 GB, free: 4.031 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006353/0.3592, allocations: 0.7021 MB / 0.7938 GB, free: 3.324 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.3592, allocations: 0 / 0.7938 GB, free: 3.324 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001522/0.3607, allocations: 0.6602 MB / 0.7944 GB, free: 2.664 MB / 0.6198 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001776/0.3609, allocations: 143 kB / 0.7945 GB, free: 2.516 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002849/0.3637, allocations: 3.003 MB / 0.7975 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3637, allocations: 8 kB / 0.7975 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001624/0.3653, allocations: 1.877 MB / 0.7993 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.3665, allocations: 483.3 kB / 0.7998 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00606/0.3725, allocations: 5.937 MB / 0.8056 GB, free: 7.094 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001483/0.374, allocations: 1.816 MB / 0.8073 GB, free: 5.242 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001913/0.3742, allocations: 92.5 kB / 0.8074 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of SimCode: time 1.233e-06/0.3742, allocations: 0 / 0.8074 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of Templates: time 0.05461/0.4288, allocations: 80.28 MB / 0.8858 GB, free: 4.961 MB / 0.7136 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.695162671618164] Failed to read output from testmodel.py, exit status != 0: 0.4352576332166791 0.442894719 0.17429747499999995 Calling exit ...