Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.001448/0.001448, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001713/0.001713, allocations: 215.4 kB / 22.99 MB, free: 4.945 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.46/1.46, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.002667/0.002667, allocations: 297.4 kB / 313.5 MB, free: 2.633 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.234/1.234, allocations: 180.6 MB / 0.5377 GB, free: 14.56 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") [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.003101/0.003101, allocations: 104.4 kB / 0.7407 GB, free: 27.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.162, allocations: 95.38 MB / 0.8339 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02871/0.1907, allocations: 21.55 MB / 0.8549 GB, free: 2.184 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01225/0.2029, allocations: 6.187 MB / 0.861 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001987/0.2049, allocations: 123.1 kB / 0.8611 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00468/0.2096, allocations: 1.554 MB / 0.8626 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004539/0.2141, allocations: 1.727 MB / 0.8643 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003696/0.2178, allocations: 1.359 MB / 0.8656 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.007695/0.2255, allocations: 5.94 MB / 0.8714 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006178/0.2317, allocations: 3.186 MB / 0.8745 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00418/0.2359, allocations: 2.493 MB / 0.877 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005031/0.2409, allocations: 2.92 MB / 0.8798 GB, free: 8.551 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001302/0.2422, allocations: 464 kB / 0.8803 GB, free: 8.098 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002932/0.2452, allocations: 1.03 MB / 0.8813 GB, free: 7.07 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.003286/0.2484, allocations: 2.085 MB / 0.8833 GB, free: 4.973 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.00399/0.2524, allocations: 1.751 MB / 0.885 GB, free: 3.215 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01002/0.2624, allocations: 7.355 MB / 0.8922 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2625, allocations: 3.938 kB / 0.8922 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.214e-06/0.2625, allocations: 0 / 0.8922 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.000248/0.2627, allocations: 0 / 0.8922 GB, free: 11.83 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.01001/0.2727, allocations: 3.841 MB / 0.8959 GB, free: 7.941 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.2728, allocations: 8.75 kB / 0.896 GB, free: 7.934 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006744/0.2795, allocations: 1.231 MB / 0.8972 GB, free: 6.699 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00621/0.2857, allocations: 2.309 MB / 0.8994 GB, free: 4.34 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002851/0.286, allocations: 238.4 kB / 0.8996 GB, free: 4.105 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001157/0.2872, allocations: 311.9 kB / 0.8999 GB, free: 3.801 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01411/0.3013, allocations: 6.442 MB / 0.9062 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001454/0.3014, allocations: 19.83 kB / 0.9062 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001028/0.3024, allocations: 139.9 kB / 0.9064 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006071/0.303, allocations: 406.3 kB / 0.9068 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009712/0.3128, allocations: 4.654 MB / 0.9113 GB, free: 7.832 MB / 0.6544 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03188/0.3446, allocations: 18.08 MB / 0.929 GB, free: 5.25 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002365/0.347, allocations: 1.371 MB / 0.9303 GB, free: 3.871 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00226/0.3493, allocations: 1.432 MB / 0.9317 GB, free: 2.434 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001299/0.3494, allocations: 13 kB / 0.9317 GB, free: 2.418 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.734e-05/0.3494, allocations: 47.55 kB / 0.9318 GB, free: 2.363 MB / 0.67 GB Notification: Performance of pre-optimization done (n=110): time 2.965e-06/0.3494, allocations: 3.938 kB / 0.9318 GB, free: 2.359 MB / 0.67 GB Notification: Performance of matching and sorting (n=179): time 0.1505/0.5, allocations: 37.05 MB / 0.9679 GB, free: 13.26 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.168e-05/0.5, allocations: 73.41 kB / 0.968 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002074/0.5021, allocations: 1.36 MB / 0.9693 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002836/0.5024, allocations: 57.69 kB / 0.9694 GB, free: 11.74 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001273/0.5037, allocations: 1.59 MB / 0.971 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007115/0.5044, allocations: 0.6429 MB / 0.9716 GB, free: 9.488 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007374/0.5051, allocations: 375.5 kB / 0.9719 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.5053, allocations: 313 kB / 0.9722 GB, free: 8.805 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002713/0.508, allocations: 1.784 MB / 0.974 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003237/0.5112, allocations: 2.346 MB / 0.9763 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3636/0.8748, allocations: 4.386 MB / 0.9806 GB, free: 132.8 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-05/0.8748, allocations: 5.312 kB / 0.9806 GB, free: 132.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01778/0.8926, allocations: 8.417 MB / 0.9888 GB, free: 131.4 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.006e-05/0.8926, allocations: 17.16 kB / 0.9888 GB, free: 131.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.523e-05/0.8926, allocations: 23.77 kB / 0.9888 GB, free: 131.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01433/0.9069, allocations: 4.604 MB / 0.9933 GB, free: 130.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/0.9082, allocations: 306 kB / 0.9936 GB, free: 130.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03806/0.9463, allocations: 31.44 MB / 1.024 GB, free: 110.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001971/0.9483, allocations: 151.8 kB / 1.024 GB, free: 110.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001609/0.9484, allocations: 83.98 kB / 1.025 GB, free: 110.3 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 {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001651/0.9501, allocations: 1.325 MB / 1.026 GB, free: 109 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002946/0.9504, allocations: 202.6 kB / 1.026 GB, free: 108.8 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01434/0.9647, allocations: 8.296 MB / 1.034 GB, free: 100.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/0.9647, allocations: 16 kB / 1.034 GB, free: 100.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.983e-05/0.9648, allocations: 28 kB / 1.034 GB, free: 100.4 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.508e-05/0.9648, allocations: 11.95 kB / 1.034 GB, free: 100.4 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0194/0.9842, allocations: 11.64 MB / 1.046 GB, free: 88.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-05/0.9842, allocations: 8 kB / 1.046 GB, free: 88.65 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006479/0.9849, allocations: 159.8 kB / 1.046 GB, free: 88.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01233/0.9972, allocations: 4.477 MB / 1.05 GB, free: 84.01 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002346/0.9974, allocations: 36 kB / 1.05 GB, free: 83.97 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03639/1.034, allocations: 31.04 MB / 1.08 GB, free: 52.35 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.034, allocations: 4 kB / 1.08 GB, free: 52.35 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01425/1.048, allocations: 8.108 MB / 1.088 GB, free: 44.11 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001637/1.05, allocations: 0.5368 MB / 1.089 GB, free: 43.58 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003086/1.05, allocations: 44 kB / 1.089 GB, free: 43.54 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001382/1.051, allocations: 139.7 kB / 1.089 GB, free: 43.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006439/1.052, allocations: 176.9 kB / 1.089 GB, free: 43.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001248/1.052, allocations: 51.75 kB / 1.089 GB, free: 43.18 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009138/1.053, allocations: 0.9015 MB / 1.09 GB, free: 42.28 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/1.053, allocations: 0 / 1.09 GB, free: 42.28 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002728/1.056, allocations: 1.117 MB / 1.091 GB, free: 41.16 MB / 0.7169 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 {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002483/1.056, allocations: 146.9 kB / 1.091 GB, free: 41.02 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01027/1.066, allocations: 6.311 MB / 1.098 GB, free: 34.64 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/1.066, allocations: 4 kB / 1.098 GB, free: 34.63 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.007765/1.074, allocations: 4.188 MB / 1.102 GB, free: 30.38 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002266/1.076, allocations: 0.5191 MB / 1.102 GB, free: 29.9 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009559/1.086, allocations: 7.482 MB / 1.109 GB, free: 22.33 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002252/1.088, allocations: 2.243 MB / 1.112 GB, free: 20.04 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003539/1.089, allocations: 103.4 kB / 1.112 GB, free: 19.94 MB / 0.7169 GB Notification: Performance of SimCode: time 1.112e-06/1.089, allocations: 7.875 kB / 1.112 GB, free: 19.93 MB / 0.7169 GB Notification: Performance of Templates: time 0.1587/1.247, allocations: 155.4 MB / 1.263 GB, free: 8.52 MB / 0.8575 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 16.76274534314871] Failed to read output from testmodel.py, exit status != 0: 1.2555107078514993 1.271130553 1.005345273 Calling exit ...