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.001484/0.001484, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001692/0.001692, allocations: 177.4 kB / 23.36 MB, free: 1.129 MB / 18.57 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 0.9262/0.9262, allocations: 177.2 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.002291/0.002291, allocations: 249.5 kB / 260.5 MB, free: 12.69 MB / 250.7 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 0.7166/0.7166, allocations: 138.4 MB / 402.2 MB, free: 0.5703 MB / 362.7 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: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 462.3 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.688e-06/1.112e-05, allocations: 4.031 kB / 462.3 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.00446/0.004471, allocations: 4.807 MB / 467.1 MB, free: 13.75 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002759/0.00723, allocations: 1.745 MB / 468.9 MB, free: 12.09 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002566/0.007487, allocations: 39.62 kB / 468.9 MB, free: 12.05 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000507/0.007994, allocations: 218.3 kB / 469.1 MB, free: 11.84 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006107/0.008604, allocations: 451.3 kB / 469.6 MB, free: 11.4 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006029/0.009207, allocations: 404.5 kB / 470 MB, free: 11.01 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009588/0.01017, allocations: 1.279 MB / 471.2 MB, free: 9.727 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005707/0.01074, allocations: 0.579 MB / 471.8 MB, free: 9.145 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008788/0.01162, allocations: 0.6718 MB / 472.5 MB, free: 8.473 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004721/0.01209, allocations: 482.7 kB / 473 MB, free: 8 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 7.308e-05/0.01216, allocations: 64.69 kB / 473 MB, free: 7.938 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001977/0.01236, allocations: 139.8 kB / 473.2 MB, free: 7.801 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001896/0.01255, allocations: 327.8 kB / 473.5 MB, free: 7.48 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002066/0.01275, allocations: 315.2 kB / 473.8 MB, free: 7.172 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005565/0.01331, allocations: 0.7365 MB / 474.5 MB, free: 6.434 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.01331, allocations: 0 / 474.5 MB, free: 6.434 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01331, allocations: 4.594 kB / 474.5 MB, free: 6.43 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.806e-06/0.01332, allocations: 0.6562 kB / 474.5 MB, free: 6.43 MB / 426.7 MB 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.0009634/0.01429, allocations: 1.031 MB / 475.6 MB, free: 5.383 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.638e-05/0.01431, allocations: 12.75 kB / 475.6 MB, free: 5.371 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006933/0.01501, allocations: 269 kB / 475.8 MB, free: 5.109 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005391/0.01554, allocations: 0.5203 MB / 476.4 MB, free: 4.574 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/0.01557, allocations: 45.67 kB / 476.4 MB, free: 4.531 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.399e-05/0.01565, allocations: 72.36 kB / 476.5 MB, free: 4.461 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006456/0.01629, allocations: 0.9485 MB / 477.4 MB, free: 3.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.01631, allocations: 8.125 kB / 477.4 MB, free: 3.332 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.347e-05/0.01635, allocations: 33.42 kB / 477.5 MB, free: 3.301 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.211e-05/0.01645, allocations: 89.19 kB / 477.6 MB, free: 3.211 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002857/0.01673, allocations: 256.6 kB / 477.8 MB, free: 2.961 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00252/0.01925, allocations: 3.919 MB / 481.7 MB, free: 14.92 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003428/0.01959, allocations: 275 kB / 482 MB, free: 14.64 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.0197, allocations: 99.69 kB / 482.1 MB, free: 14.54 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.01972, allocations: 10.88 kB / 482.1 MB, free: 14.53 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.01975, allocations: 44.12 kB / 482.1 MB, free: 14.48 MB / 442.7 MB Notification: Performance of pre-optimization done (n=47): time 1.583e-06/0.01975, allocations: 0 / 482.1 MB, free: 14.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=48): time 0.001305/0.02105, allocations: 0.8023 MB / 482.9 MB, free: 13.67 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.353e-05/0.02108, allocations: 59.89 kB / 483 MB, free: 13.6 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000247/0.02132, allocations: 474.9 kB / 483.5 MB, free: 13.12 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.02135, allocations: 33.7 kB / 483.5 MB, free: 13.09 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.02149, allocations: 389.3 kB / 483.9 MB, free: 12.7 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.072e-05/0.02157, allocations: 178.5 kB / 484.1 MB, free: 12.52 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.02168, allocations: 119.8 kB / 484.2 MB, free: 12.4 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.905e-05/0.02176, allocations: 374.6 kB / 484.5 MB, free: 12.03 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.947e-05/0.02185, allocations: 77.97 kB / 484.6 MB, free: 11.95 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/0.02204, allocations: 298.5 kB / 484.9 MB, free: 11.57 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003192/0.02236, allocations: 440.5 kB / 485.3 MB, free: 11.05 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.02236, allocations: 4 kB / 485.3 MB, free: 11.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0006022/0.02296, allocations: 0.5657 MB / 485.9 MB, free: 10.46 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.02298, allocations: 9.25 kB / 485.9 MB, free: 10.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.02299, allocations: 8 kB / 485.9 MB, free: 10.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006146/0.0236, allocations: 291.9 kB / 486.2 MB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/0.02381, allocations: 111.8 kB / 486.3 MB, free: 10.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002879/0.02669, allocations: 5.306 MB / 491.6 MB, free: 4.383 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.02689, allocations: 20 kB / 491.6 MB, free: 4.363 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.964e-05/0.02692, allocations: 28.48 kB / 491.7 MB, free: 4.336 MB / 442.7 MB 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.00013/0.02705, allocations: 158.1 kB / 491.8 MB, free: 4.172 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.23e-05/0.02711, allocations: 57.62 kB / 491.9 MB, free: 4.117 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004874/0.0276, allocations: 448.4 kB / 492.3 MB, free: 3.656 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.0276, allocations: 5.188 kB / 492.3 MB, free: 3.652 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.02761, allocations: 7.984 kB / 492.3 MB, free: 3.645 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.02761, allocations: 0 / 492.3 MB, free: 3.645 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008937/0.02851, allocations: 0.8871 MB / 493.2 MB, free: 2.703 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.02851, allocations: 4 kB / 493.2 MB, free: 2.699 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.02862, allocations: 48.61 kB / 493.3 MB, free: 2.652 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008017/0.02942, allocations: 283.8 kB / 493.5 MB, free: 2.371 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/0.02944, allocations: 12 kB / 493.6 MB, free: 2.359 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002474/0.03191, allocations: 5.296 MB / 498.9 MB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.03191, allocations: 0 / 498.9 MB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005102/0.03242, allocations: 0.5789 MB / 499.4 MB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.03253, allocations: 88.44 kB / 499.5 MB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.044e-05/0.03257, allocations: 12.84 kB / 499.5 MB, free: 11.97 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.03271, allocations: 12.84 kB / 499.5 MB, free: 11.96 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.832e-05/0.03278, allocations: 43.86 kB / 499.6 MB, free: 11.92 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.0328, allocations: 13.25 kB / 499.6 MB, free: 11.91 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002568/0.03305, allocations: 216.3 kB / 499.8 MB, free: 11.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.03305, allocations: 0 / 499.8 MB, free: 11.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000613/0.03367, allocations: 220 kB / 0.4883 GB, free: 11.48 MB / 458.7 MB 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.0001383/0.03381, allocations: 95.33 kB / 0.4884 GB, free: 11.38 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0008498/0.03466, allocations: 0.8958 MB / 0.4893 GB, free: 10.44 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.727e-05/0.03467, allocations: 13.25 kB / 0.4893 GB, free: 10.43 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000517/0.03519, allocations: 0.7123 MB / 0.49 GB, free: 9.664 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005224/0.03571, allocations: 210.5 kB / 0.4902 GB, free: 9.484 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.03731, allocations: 1.28 MB / 0.4914 GB, free: 8.164 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001673/0.03748, allocations: 207.4 kB / 0.4916 GB, free: 7.938 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002119/0.03769, allocations: 82.64 kB / 0.4917 GB, free: 7.875 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002884/0.03798, allocations: 205.2 kB / 0.4919 GB, free: 7.676 MB / 458.7 MB Notification: Performance of SimCode: time 1.693e-06/0.03798, allocations: 0 / 0.4919 GB, free: 7.676 MB / 458.7 MB Notification: Performance of Templates: time 0.01377/0.05175, allocations: 12.11 MB / 0.5037 GB, free: 12.09 MB / 474.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.754481101408601]