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.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.001369/0.001369, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.001525/0.001525, allocations: 219.2 kB / 22.99 MB, free: 4.914 MB / 14.72 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.453/1.453, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 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.002646/0.002646, allocations: 287 kB / 313.5 MB, free: 2.609 MB / 238.1 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.204/1.204, allocations: 180.6 MB / 0.5377 GB, free: 14.38 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 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_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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002934/0.002934, allocations: 110.5 kB / 0.7407 GB, free: 27.83 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1724, allocations: 95.38 MB / 0.8339 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.03083/0.2033, allocations: 22.25 MB / 0.8556 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01399/0.2173, allocations: 6.442 MB / 0.8619 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002478/0.2197, allocations: 131 kB / 0.862 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004853/0.2246, allocations: 1.515 MB / 0.8635 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0052/0.2298, allocations: 1.929 MB / 0.8654 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004157/0.234, allocations: 1.469 MB / 0.8668 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.008984/0.2429, allocations: 6.901 MB / 0.8736 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007845/0.2508, allocations: 3.73 MB / 0.8772 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005578/0.2564, allocations: 2.941 MB / 0.8801 GB, free: 8.285 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006192/0.2625, allocations: 3.555 MB / 0.8835 GB, free: 4.719 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001638/0.2642, allocations: 0.5234 MB / 0.8841 GB, free: 4.195 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003622/0.2678, allocations: 1.112 MB / 0.8851 GB, free: 3.082 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.004374/0.2722, allocations: 2.529 MB / 0.8876 GB, free: 0.5469 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.005447/0.2776, allocations: 2.066 MB / 0.8896 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0119/0.2895, allocations: 8.581 MB / 0.898 GB, free: 5.863 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.2895, allocations: 0 / 0.898 GB, free: 5.863 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2895, allocations: 0 / 0.898 GB, free: 5.863 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002701/0.2898, allocations: 4 kB / 0.898 GB, free: 5.859 MB / 0.6387 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.01092/0.3007, allocations: 4.47 MB / 0.9024 GB, free: 1.336 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.3008, allocations: 8.75 kB / 0.9024 GB, free: 1.328 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008625/0.3094, allocations: 1.699 MB / 0.904 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00706/0.3165, allocations: 2.68 MB / 0.9067 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002728/0.3167, allocations: 271.7 kB / 0.9069 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001323/0.3181, allocations: 364.2 kB / 0.9073 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0175/0.3356, allocations: 7.713 MB / 0.9148 GB, free: 4.246 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001732/0.3357, allocations: 15.88 kB / 0.9148 GB, free: 4.23 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001242/0.337, allocations: 163.9 kB / 0.915 GB, free: 4.07 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000718/0.3377, allocations: 487.3 kB / 0.9154 GB, free: 3.594 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0126/0.3503, allocations: 5.693 MB / 0.921 GB, free: 13.89 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03773/0.388, allocations: 19.96 MB / 0.9405 GB, free: 9.477 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003446/0.3915, allocations: 2.02 MB / 0.9425 GB, free: 7.449 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003525/0.395, allocations: 2.1 MB / 0.9445 GB, free: 5.344 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002523/0.3952, allocations: 13.31 kB / 0.9445 GB, free: 5.332 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.228e-05/0.3953, allocations: 55.88 kB / 0.9446 GB, free: 5.266 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=146): time 3.948e-06/0.3953, allocations: 0 / 0.9446 GB, free: 5.266 MB / 0.6856 GB Notification: Performance of matching and sorting (n=251): time 0.6373/1.033, allocations: 76.7 MB / 1.019 GB, free: 117.6 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/1.033, allocations: 77.41 kB / 1.02 GB, free: 117.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001659/1.034, allocations: 1.609 MB / 1.021 GB, free: 115.9 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0004067/1.035, allocations: 65.7 kB / 1.021 GB, free: 115.9 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007497/1.035, allocations: 1.802 MB / 1.023 GB, free: 114.2 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007051/1.036, allocations: 0.8971 MB / 1.024 GB, free: 113.3 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008067/1.037, allocations: 481.4 kB / 1.024 GB, free: 112.9 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.538e-05/1.037, allocations: 305.1 kB / 1.025 GB, free: 112.6 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002814/1.04, allocations: 2.737 MB / 1.027 GB, free: 109.8 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003031/1.043, allocations: 3.336 MB / 1.031 GB, free: 106.2 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006178/1.049, allocations: 6.393 MB / 1.037 GB, free: 99.61 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/1.049, allocations: 7.938 kB / 1.037 GB, free: 99.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02791/1.077, allocations: 14.4 MB / 1.051 GB, free: 85.16 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.568e-05/1.077, allocations: 13 kB / 1.051 GB, free: 85.15 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.738e-05/1.077, allocations: 21.59 kB / 1.051 GB, free: 85.13 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02574/1.103, allocations: 9.203 MB / 1.06 GB, free: 75.91 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/1.104, allocations: 299.5 kB / 1.06 GB, free: 75.62 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06353/1.167, allocations: 50.85 MB / 1.11 GB, free: 24.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002845/1.17, allocations: 220.6 kB / 1.11 GB, free: 23.97 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002601/1.171, allocations: 100 kB / 1.11 GB, free: 23.87 MB / 0.7169 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.002207/1.173, allocations: 1.587 MB / 1.112 GB, free: 22.28 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004806/1.173, allocations: 250.6 kB / 1.112 GB, free: 22.03 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02769/1.201, allocations: 14.47 MB / 1.126 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.876e-05/1.201, allocations: 24 kB / 1.126 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001127/1.201, allocations: 48 kB / 1.126 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.26e-05/1.201, allocations: 11.95 kB / 1.126 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04116/1.242, allocations: 18.93 MB / 1.145 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.761e-05/1.242, allocations: 4.844 kB / 1.145 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008014/1.243, allocations: 163.7 kB / 1.145 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03078/1.274, allocations: 8.976 MB / 1.153 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004681/1.274, allocations: 48 kB / 1.154 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08855/1.363, allocations: 50.42 MB / 1.203 GB, free: 8.133 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.947e-06/1.363, allocations: 8 kB / 1.203 GB, free: 8.125 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03435/1.397, allocations: 14.09 MB / 1.217 GB, free: 9.898 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002859/1.4, allocations: 0.7598 MB / 1.217 GB, free: 9.137 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007245/1.401, allocations: 55.98 kB / 1.217 GB, free: 9.082 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002459/1.403, allocations: 207.6 kB / 1.218 GB, free: 8.879 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001233/1.404, allocations: 253.3 kB / 1.218 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002558/1.405, allocations: 64 kB / 1.218 GB, free: 8.57 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001802/1.407, allocations: 1.068 MB / 1.219 GB, free: 7.512 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/1.407, allocations: 0 / 1.219 GB, free: 7.512 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00493/1.411, allocations: 1.613 MB / 1.22 GB, free: 5.898 MB / 0.8106 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.0004505/1.412, allocations: 163 kB / 1.221 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.02428/1.436, allocations: 10.21 MB / 1.231 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.165e-05/1.436, allocations: 0 / 1.231 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.01943/1.456, allocations: 7.004 MB / 1.237 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003606/1.459, allocations: 0.5348 MB / 1.238 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02002/1.479, allocations: 9.551 MB / 1.247 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005372/1.485, allocations: 2.751 MB / 1.25 GB, free: 7.461 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004716/1.485, allocations: 103.4 kB / 1.25 GB, free: 7.359 MB / 0.8419 GB Notification: Performance of SimCode: time 1.403e-06/1.485, allocations: 0 / 1.25 GB, free: 7.359 MB / 0.8419 GB Notification: Performance of Templates: time 0.6119/2.097, allocations: 189.3 MB / 1.435 GB, free: 215.7 MB / 0.9044 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.181995269842446] Failed to read output from testmodel.py, exit status != 0: 2.1052107010036707 2.1160344110000002 1.823924545 Calling exit ...