Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.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.001614/0.001614, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001973/0.001973, allocations: 210.6 kB / 23.01 MB, free: 4.57 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.002605/0.002605, allocations: 291 kB / 313.5 MB, free: 2.82 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.205/1.205, allocations: 180.6 MB / 0.5377 GB, free: 13.02 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.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.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.002928/0.002928, allocations: 99.47 kB / 0.7408 GB, free: 27.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1619, allocations: 95.38 MB / 0.834 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009919/0.1719, allocations: 7.079 MB / 0.8409 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005534/0.1774, allocations: 3.219 MB / 0.844 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005512/0.178, allocations: 35.69 kB / 0.8441 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002717/0.1807, allocations: 0.9942 MB / 0.845 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001372/0.182, allocations: 0.5206 MB / 0.8455 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001207/0.1832, allocations: 452.1 kB / 0.846 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001703/0.1849, allocations: 1.236 MB / 0.8472 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009629/0.1859, allocations: 0.5257 MB / 0.8477 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008368/0.1867, allocations: 494.3 kB / 0.8482 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009454/0.1877, allocations: 0.5526 MB / 0.8487 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001622/0.1879, allocations: 72 kB / 0.8488 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007741/0.1886, allocations: 387.2 kB / 0.8491 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003637/0.189, allocations: 319.1 kB / 0.8494 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005506/0.1895, allocations: 453.7 kB / 0.8499 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001555/0.1911, allocations: 1.226 MB / 0.8511 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1911, allocations: 3.938 kB / 0.8511 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1911, allocations: 0 / 0.8511 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.731e-05/0.1911, allocations: 0 / 0.8511 GB, free: 6.566 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002125/0.1933, allocations: 1.116 MB / 0.8522 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.1933, allocations: 8.75 kB / 0.8522 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00164/0.1949, allocations: 248.1 kB / 0.8524 GB, free: 5.164 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.196, allocations: 0.5436 MB / 0.8529 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.05e-05/0.1961, allocations: 53.66 kB / 0.853 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.1962, allocations: 60.36 kB / 0.853 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001579/0.1978, allocations: 1.097 MB / 0.8541 GB, free: 3.277 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.977e-05/0.1978, allocations: 11.94 kB / 0.8541 GB, free: 3.266 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.59e-05/0.1979, allocations: 27.98 kB / 0.8542 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001496/0.198, allocations: 85.25 kB / 0.8542 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001258/0.1993, allocations: 0.7504 MB / 0.855 GB, free: 2.402 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005965/0.2052, allocations: 5.795 MB / 0.8606 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009954/0.2062, allocations: 0.5085 MB / 0.8611 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000451/0.2067, allocations: 283.8 kB / 0.8614 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.164e-05/0.2067, allocations: 8.438 kB / 0.8614 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.2068, allocations: 43 kB / 0.8614 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=47): time 2.074e-06/0.2068, allocations: 0 / 0.8614 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.003777/0.2105, allocations: 1.686 MB / 0.8631 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.2106, allocations: 59.83 kB / 0.8631 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00068/0.2113, allocations: 0.5626 MB / 0.8637 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.365e-05/0.2113, allocations: 37.7 kB / 0.8637 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003177/0.2116, allocations: 424 kB / 0.8641 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.2118, allocations: 182.4 kB / 0.8643 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002015/0.212, allocations: 126.6 kB / 0.8644 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002007/0.2122, allocations: 378.7 kB / 0.8648 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004351/0.2126, allocations: 281.8 kB / 0.8651 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006007/0.2132, allocations: 492.9 kB / 0.8655 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.2143, allocations: 0.8083 MB / 0.8663 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2143, allocations: 0 / 0.8663 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001909/0.2162, allocations: 1.082 MB / 0.8674 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.2162, allocations: 8 kB / 0.8674 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.2163, allocations: 8 kB / 0.8674 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008303/0.2171, allocations: 275.7 kB / 0.8677 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004703/0.2176, allocations: 123.8 kB / 0.8678 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007209/0.2248, allocations: 6.749 MB / 0.8744 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005233/0.2253, allocations: 32.16 kB / 0.8744 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-05/0.2253, allocations: 36 kB / 0.8744 GB, free: 13.28 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,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.0003611/0.2257, allocations: 254.2 kB / 0.8747 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.2258, allocations: 75.58 kB / 0.8747 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001649/0.2275, allocations: 0.873 MB / 0.8756 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.2275, allocations: 8 kB / 0.8756 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.2275, allocations: 4 kB / 0.8756 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.2275, allocations: 3.984 kB / 0.8756 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002827/0.2303, allocations: 1.688 MB / 0.8773 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.2303, allocations: 3.938 kB / 0.8773 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002694/0.2306, allocations: 67.83 kB / 0.8773 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000771/0.2314, allocations: 271.4 kB / 0.8776 GB, free: 9.922 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.495e-05/0.2314, allocations: 12 kB / 0.8776 GB, free: 9.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006979/0.2384, allocations: 6.717 MB / 0.8842 GB, free: 2.738 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.2384, allocations: 0 / 0.8842 GB, free: 2.738 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001613/0.24, allocations: 0.9799 MB / 0.8851 GB, free: 1.711 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003296/0.2403, allocations: 119.5 kB / 0.8852 GB, free: 1.594 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.009e-05/0.2404, allocations: 8 kB / 0.8852 GB, free: 1.586 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003684/0.2408, allocations: 36.09 kB / 0.8853 GB, free: 1.551 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.2409, allocations: 43.88 kB / 0.8853 GB, free: 1.508 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.343e-05/0.2409, allocations: 16 kB / 0.8853 GB, free: 1.492 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004823/0.2414, allocations: 395.1 kB / 0.8857 GB, free: 1.109 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2414, allocations: 0 / 0.8857 GB, free: 1.109 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008278/0.2422, allocations: 228 kB / 0.8859 GB, free: 0.8867 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,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.0001619/0.2424, allocations: 111.2 kB / 0.886 GB, free: 0.7656 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002065/0.2445, allocations: 1.22 MB / 0.8872 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.2445, allocations: 4 kB / 0.8872 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001305/0.2458, allocations: 0.8619 MB / 0.8881 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.2468, allocations: 228.4 kB / 0.8883 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002425/0.2492, allocations: 1.442 MB / 0.8897 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000724/0.2499, allocations: 1.016 MB / 0.8907 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001792/0.2501, allocations: 51.42 kB / 0.8907 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of SimCode: time 7.92e-07/0.2501, allocations: 0 / 0.8907 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of Templates: time 0.02679/0.2769, allocations: 20.96 MB / 0.9112 GB, free: 6.859 MB / 0.6544 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.895608500111848] Failed to read output from testmodel.py, exit status != 0: 0.2846422800794244 0.30012978700000004 0.105822225 Calling exit ...