Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.001368/0.001368, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001559/0.001559, allocations: 213.2 kB / 22.25 MB, free: 5.242 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.736/1.736, allocations: 230.6 MB / 256 MB, free: 7.789 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.002664/0.002664, allocations: 289.2 kB / 312.7 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.324/1.324, allocations: 180.6 MB / 0.5369 GB, free: 14.69 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.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [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.003084/0.003084, allocations: 97.2 kB / 0.74 GB, free: 27.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.177, allocations: 95.38 MB / 0.8332 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04476/0.2218, allocations: 33.66 MB / 0.866 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.019/0.2408, allocations: 10.03 MB / 0.8758 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00348/0.2443, allocations: 190.6 kB / 0.876 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01093/0.2552, allocations: 3.826 MB / 0.8797 GB, free: 7.984 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007109/0.2623, allocations: 2.142 MB / 0.8818 GB, free: 5.832 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006609/0.2689, allocations: 1.968 MB / 0.8837 GB, free: 3.867 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0117/0.2806, allocations: 7.972 MB / 0.8915 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01044/0.2911, allocations: 5.225 MB / 0.8966 GB, free: 6.52 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007167/0.2982, allocations: 3.49 MB / 0.9 GB, free: 3.02 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008599/0.3068, allocations: 3.699 MB / 0.9037 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002391/0.3092, allocations: 0.6758 MB / 0.9043 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004316/0.3135, allocations: 1.358 MB / 0.9056 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.004796/0.3183, allocations: 2.689 MB / 0.9083 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00605/0.3244, allocations: 2.514 MB / 0.9107 GB, free: 8.055 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01553/0.3399, allocations: 10.47 MB / 0.9209 GB, free: 13.55 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.3399, allocations: 0 / 0.9209 GB, free: 13.55 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3399, allocations: 0 / 0.9209 GB, free: 13.55 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0003617/0.3403, allocations: 3.938 kB / 0.9209 GB, free: 13.55 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01522/0.3555, allocations: 5.459 MB / 0.9263 GB, free: 8.027 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.3555, allocations: 12.75 kB / 0.9263 GB, free: 8.016 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004796/0.3603, allocations: 0.9812 MB / 0.9273 GB, free: 7.031 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007464/0.3678, allocations: 3.136 MB / 0.9303 GB, free: 3.828 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003057/0.3681, allocations: 357.9 kB / 0.9307 GB, free: 3.477 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008735/0.369, allocations: 472.3 kB / 0.9311 GB, free: 3.016 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01411/0.3831, allocations: 8.667 MB / 0.9396 GB, free: 9.801 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001137/0.3832, allocations: 15.88 kB / 0.9396 GB, free: 9.785 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005179/0.3837, allocations: 212 kB / 0.9398 GB, free: 9.578 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005649/0.3843, allocations: 369.1 kB / 0.9401 GB, free: 9.215 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01067/0.395, allocations: 5.933 MB / 0.9459 GB, free: 3.266 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03245/0.4274, allocations: 22.94 MB / 0.9683 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003484/0.4309, allocations: 1.992 MB / 0.9703 GB, free: 9.664 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00203/0.4329, allocations: 1.333 MB / 0.9716 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.158e-05/0.433, allocations: 21.3 kB / 0.9716 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.061e-05/0.4331, allocations: 55.88 kB / 0.9717 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=157): time 3.717e-06/0.4331, allocations: 0 / 0.9717 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of matching and sorting (n=160): time 0.0144/0.4475, allocations: 6.647 MB / 0.9781 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.845e-05/0.4475, allocations: 68.72 kB / 0.9782 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3489/0.7964, allocations: 1.702 MB / 0.9799 GB, free: 132.6 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003127/0.7967, allocations: 56.36 kB / 0.9799 GB, free: 132.6 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001261/0.798, allocations: 2.201 MB / 0.9821 GB, free: 132.4 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005596/0.7985, allocations: 0.5826 MB / 0.9826 GB, free: 132.1 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006384/0.7992, allocations: 402.5 kB / 0.983 GB, free: 132.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.351e-05/0.7992, allocations: 301.8 kB / 0.9833 GB, free: 131.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001612/0.8008, allocations: 1.063 MB / 0.9844 GB, free: 131.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001699/0.8025, allocations: 1.763 MB / 0.9861 GB, free: 130.1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003175/0.8057, allocations: 3.05 MB / 0.9891 GB, free: 128.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-05/0.8057, allocations: 5.594 kB / 0.9891 GB, free: 128.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.005957/0.8117, allocations: 3.89 MB / 0.9929 GB, free: 126.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.597e-05/0.8117, allocations: 15.02 kB / 0.9929 GB, free: 126.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.654e-05/0.8117, allocations: 22.31 kB / 0.9929 GB, free: 126.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002524/0.8143, allocations: 0.9316 MB / 0.9938 GB, free: 126.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00162/0.8159, allocations: 424.6 kB / 0.9942 GB, free: 126.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01656/0.8325, allocations: 21.12 MB / 1.015 GB, free: 108.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001947/0.8344, allocations: 122.7 kB / 1.015 GB, free: 108.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001523/0.8346, allocations: 93.44 kB / 1.015 GB, free: 108.7 MB / 0.7169 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002187/0.8367, allocations: 1.642 MB / 1.017 GB, free: 108 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003163/0.8371, allocations: 251.4 kB / 1.017 GB, free: 107.9 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004428/0.8415, allocations: 3.232 MB / 1.02 GB, free: 106.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/0.8415, allocations: 18.81 kB / 1.02 GB, free: 106.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.8415, allocations: 11.72 kB / 1.02 GB, free: 106.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.8415, allocations: 8.391 kB / 1.02 GB, free: 106.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00869/0.8502, allocations: 6.442 MB / 1.026 GB, free: 103.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.8502, allocations: 5.094 kB / 1.026 GB, free: 103.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000827/0.851, allocations: 212 kB / 1.027 GB, free: 103.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001946/0.853, allocations: 0.9086 MB / 1.027 GB, free: 103 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.365e-05/0.8531, allocations: 32.22 kB / 1.027 GB, free: 102.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01358/0.8667, allocations: 21.08 MB / 1.048 GB, free: 80.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.8667, allocations: 4 kB / 1.048 GB, free: 80.82 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004261/0.8709, allocations: 3.352 MB / 1.051 GB, free: 77.35 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001134/0.8721, allocations: 459.6 kB / 1.052 GB, free: 76.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002649/0.8723, allocations: 35.83 kB / 1.052 GB, free: 76.88 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/0.8733, allocations: 91.89 kB / 1.052 GB, free: 76.79 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002985/0.8736, allocations: 144.9 kB / 1.052 GB, free: 76.65 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.139e-05/0.8737, allocations: 51.94 kB / 1.052 GB, free: 76.6 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001148/0.8749, allocations: 1.09 MB / 1.053 GB, free: 75.49 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.8749, allocations: 0 / 1.053 GB, free: 75.49 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002343/0.8772, allocations: 0.8984 MB / 1.054 GB, free: 74.59 MB / 0.7169 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001972/0.8774, allocations: 153.8 kB / 1.054 GB, free: 74.43 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004987/0.8824, allocations: 4.291 MB / 1.058 GB, free: 69.99 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/0.8824, allocations: 4 kB / 1.058 GB, free: 69.99 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00313/0.8856, allocations: 2.915 MB / 1.061 GB, free: 66.92 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002726/0.8883, allocations: 0.7674 MB / 1.062 GB, free: 66.19 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009719/0.898, allocations: 7.811 MB / 1.07 GB, free: 58.31 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002497/0.9005, allocations: 2.661 MB / 1.072 GB, free: 55.61 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001424/0.9019, allocations: 0.5122 MB / 1.073 GB, free: 55.1 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00032/0.9022, allocations: 131.4 kB / 1.073 GB, free: 54.97 MB / 0.7169 GB Notification: Performance of SimCode: time 7.61e-07/0.9022, allocations: 0 / 1.073 GB, free: 54.97 MB / 0.7169 GB Notification: Performance of Templates: time 0.06062/0.9629, allocations: 47.8 MB / 1.12 GB, free: 8.105 MB / 0.7169 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.371688960120082] Failed to read output from testmodel.py, exit status != 0: 0.97023980692029 0.982600127 0.639260204 Calling exit ...