Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.0016/0.0016, 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.001785/0.001785, allocations: 215.3 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.002607/0.002607, allocations: 289.4 kB / 313.5 MB, free: 2.617 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.21/1.21, allocations: 180.6 MB / 0.5377 GB, free: 14.5 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_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.003039/0.003039, allocations: 107.9 kB / 0.7407 GB, free: 28.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1701, allocations: 95.37 MB / 0.8339 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01397/0.1841, allocations: 9.637 MB / 0.8433 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006247/0.1903, allocations: 3.159 MB / 0.8464 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008043/0.1911, allocations: 47.69 kB / 0.8464 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001929/0.1931, allocations: 0.5968 MB / 0.847 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001932/0.195, allocations: 0.7818 MB / 0.8478 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001788/0.1968, allocations: 0.7447 MB / 0.8485 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003603/0.2004, allocations: 2.989 MB / 0.8514 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002036/0.2024, allocations: 1.404 MB / 0.8528 GB, free: 4.391 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001774/0.2042, allocations: 1.293 MB / 0.854 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002251/0.2065, allocations: 1.64 MB / 0.8556 GB, free: 1.449 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000366/0.2068, allocations: 236 kB / 0.8559 GB, free: 1.219 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009612/0.2078, allocations: 487.3 kB / 0.8563 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001141/0.2089, allocations: 1.091 MB / 0.8574 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001126/0.21, allocations: 0.9104 MB / 0.8583 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003958/0.214, allocations: 3.711 MB / 0.8619 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.214, allocations: 3.938 kB / 0.8619 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.994e-06/0.214, allocations: 4 kB / 0.8619 GB, free: 11 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.473e-05/0.2141, allocations: 0 / 0.8619 GB, free: 11 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.004469/0.2185, allocations: 2.119 MB / 0.864 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.2186, allocations: 8.75 kB / 0.864 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009223/0.2278, allocations: 1.326 MB / 0.8653 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003189/0.231, allocations: 1.265 MB / 0.8665 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.2311, allocations: 111.4 kB / 0.8666 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004095/0.2315, allocations: 152.3 kB / 0.8668 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007727/0.2392, allocations: 3.516 MB / 0.8702 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.589e-05/0.2393, allocations: 7.938 kB / 0.8702 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003019/0.2396, allocations: 71.95 kB / 0.8703 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003235/0.2399, allocations: 203.1 kB / 0.8705 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006429/0.2463, allocations: 3.12 MB / 0.8735 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01969/0.266, allocations: 9.829 MB / 0.8831 GB, free: 4.906 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002671/0.2687, allocations: 1.613 MB / 0.8847 GB, free: 3.289 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002127/0.2708, allocations: 1.327 MB / 0.886 GB, free: 1.953 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 9.256e-05/0.2709, allocations: 13 kB / 0.886 GB, free: 1.938 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.962e-05/0.271, allocations: 47.56 kB / 0.8861 GB, free: 1.883 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=104): time 3.086e-06/0.271, allocations: 0 / 0.8861 GB, free: 1.883 MB / 0.6231 GB Notification: Performance of matching and sorting (n=183): time 0.1593/0.4302, allocations: 36.18 MB / 0.9214 GB, free: 13.66 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.678e-05/0.4303, allocations: 69.41 kB / 0.9215 GB, free: 13.58 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00155/0.4318, allocations: 1.044 MB / 0.9225 GB, free: 12.52 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0003018/0.4321, allocations: 49.7 kB / 0.9225 GB, free: 12.47 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000651/0.4328, allocations: 0.8131 MB / 0.9233 GB, free: 11.64 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007482/0.4335, allocations: 0.6468 MB / 0.924 GB, free: 10.99 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007645/0.4343, allocations: 367.5 kB / 0.9243 GB, free: 10.63 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.4345, allocations: 301.1 kB / 0.9246 GB, free: 10.33 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00299/0.4375, allocations: 1.936 MB / 0.9265 GB, free: 8.395 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003314/0.4408, allocations: 2.285 MB / 0.9287 GB, free: 5.984 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006521/0.4473, allocations: 4.387 MB / 0.933 GB, free: 1.477 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.785e-05/0.4473, allocations: 4 kB / 0.933 GB, free: 1.473 MB / 0.67 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02205/0.4694, allocations: 8.873 MB / 0.9417 GB, free: 8.57 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/0.4694, allocations: 8 kB / 0.9417 GB, free: 8.562 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.033e-05/0.4694, allocations: 11.94 kB / 0.9417 GB, free: 8.551 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01833/0.4877, allocations: 4.975 MB / 0.9465 GB, free: 3.562 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009107/0.4886, allocations: 191.6 kB / 0.9467 GB, free: 3.375 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4238/0.9124, allocations: 37.82 MB / 0.9837 GB, free: 131.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001983/0.9144, allocations: 103.1 kB / 0.9838 GB, free: 131.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002066/0.9146, allocations: 64.75 kB / 0.9838 GB, free: 131.1 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001175/0.9158, allocations: 0.8008 MB / 0.9846 GB, free: 131 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003042/0.9161, allocations: 152.4 kB / 0.9847 GB, free: 131 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01988/0.936, allocations: 8.735 MB / 0.9933 GB, free: 129.6 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.535e-05/0.936, allocations: 25.78 kB / 0.9933 GB, free: 129.6 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.285e-05/0.9361, allocations: 29 kB / 0.9933 GB, free: 129.6 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.699e-05/0.9361, allocations: 11.39 kB / 0.9933 GB, free: 129.6 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02539/0.9615, allocations: 12.39 MB / 1.005 GB, free: 125.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.729e-05/0.9615, allocations: 3.938 kB / 1.005 GB, free: 125.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004638/0.962, allocations: 121.4 kB / 1.006 GB, free: 125.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01546/0.9775, allocations: 4.82 MB / 1.01 GB, free: 125 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003046/0.9778, allocations: 35.72 kB / 1.01 GB, free: 124.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04318/1.021, allocations: 35.77 MB / 1.045 GB, free: 92.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/1.021, allocations: 7.984 kB / 1.045 GB, free: 92.52 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01686/1.038, allocations: 8.448 MB / 1.053 GB, free: 83.98 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001803/1.04, allocations: 0.5692 MB / 1.054 GB, free: 83.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003847/1.04, allocations: 40.92 kB / 1.054 GB, free: 83.37 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/1.041, allocations: 83.89 kB / 1.054 GB, free: 83.29 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006823/1.042, allocations: 173.5 kB / 1.054 GB, free: 83.12 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001361/1.042, allocations: 49.08 kB / 1.054 GB, free: 83.07 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007593/1.043, allocations: 0.7219 MB / 1.055 GB, free: 82.34 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/1.043, allocations: 0 / 1.055 GB, free: 82.34 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002729/1.046, allocations: 1 MB / 1.056 GB, free: 81.34 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002567/1.046, allocations: 141.4 kB / 1.056 GB, free: 81.19 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.008003/1.054, allocations: 5.764 MB / 1.062 GB, free: 75.38 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/1.054, allocations: 0 / 1.062 GB, free: 75.38 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.007022/1.061, allocations: 3.789 MB / 1.066 GB, free: 71.55 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001644/1.063, allocations: 253.8 kB / 1.066 GB, free: 71.34 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007569/1.07, allocations: 5.463 MB / 1.071 GB, free: 65.83 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001529/1.072, allocations: 1.306 MB / 1.072 GB, free: 64.49 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000267/1.072, allocations: 63.44 kB / 1.072 GB, free: 64.43 MB / 0.7169 GB Notification: Performance of SimCode: time 7.72e-07/1.072, allocations: 0 / 1.072 GB, free: 64.43 MB / 0.7169 GB Notification: Performance of Templates: time 0.05993/1.132, allocations: 70.1 MB / 1.141 GB, free: 10.32 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.938684775028378] Failed to read output from testmodel.py, exit status != 0: 1.140613682102412 1.157007616 0.93971456 Calling exit ...