Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.0006562/0.0006562, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009078/0.001564, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006969/0.0006969, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009055/0.001602, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.8754/0.8754, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07755/0.9529, allocations: 53.67 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001252/0.001252, allocations: 234.4 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009141/0.002166, allocations: 487 kB / 244.7 MB, free: 14.17 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7461/0.7461, allocations: 138.7 MB / 384.1 MB, free: 496 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07113/0.8173, allocations: 42.4 MB / 426.5 MB, free: 5.945 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.133e-06/1.133e-06, allocations: 0 / 427.8 MB, free: 4.629 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.685e-05/1.799e-05, allocations: 2.312 kB / 427.8 MB, free: 4.625 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.187/0.187, allocations: 6.913 MB / 434.7 MB, free: 1.266 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004543/0.1916, allocations: 2.577 MB / 437.3 MB, free: 0.6562 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007376/0.1923, allocations: 70.31 kB / 437.4 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008448/0.1932, allocations: 361.8 kB / 437.7 MB, free: 428 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00169/0.1949, allocations: 0.9737 MB / 438.7 MB, free: 15.82 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001146/0.196, allocations: 0.5668 MB / 439.2 MB, free: 15.55 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002699/0.1987, allocations: 2.341 MB / 441.6 MB, free: 14.46 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001239/0.1999, allocations: 1.02 MB / 442.6 MB, free: 14.05 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001697/0.2016, allocations: 1.337 MB / 443.9 MB, free: 13.5 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001436/0.2031, allocations: 0.9236 MB / 444.9 MB, free: 13.24 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002677/0.2033, allocations: 113.7 kB / 445 MB, free: 13.24 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006282/0.204, allocations: 247.7 kB / 445.2 MB, free: 13.18 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003661/0.2043, allocations: 0.5155 MB / 445.7 MB, free: 12.97 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005421/0.2049, allocations: 454.8 kB / 446.2 MB, free: 12.91 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.2059, allocations: 1.223 MB / 447.4 MB, free: 12.29 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.804e-05/0.2059, allocations: 1.156 kB / 447.4 MB, free: 12.29 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2059, allocations: 0 / 447.4 MB, free: 12.29 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.671e-05/0.206, allocations: 1.125 kB / 447.4 MB, free: 12.29 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.00213/0.2081, allocations: 2.004 MB / 449.4 MB, free: 11.05 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.2082, allocations: 9.719 kB / 449.4 MB, free: 11.05 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002137/0.2103, allocations: 0.8087 MB / 450.2 MB, free: 10.34 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.2114, allocations: 0.8729 MB / 451.1 MB, free: 9.461 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.379e-05/0.2115, allocations: 94.89 kB / 451.2 MB, free: 9.367 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/0.2116, allocations: 136.3 kB / 451.3 MB, free: 9.234 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/0.2131, allocations: 1.588 MB / 452.9 MB, free: 7.367 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.507e-05/0.2131, allocations: 8.125 kB / 452.9 MB, free: 7.359 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.492e-05/0.2132, allocations: 61.03 kB / 453 MB, free: 7.301 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001329/0.2133, allocations: 170.9 kB / 453.2 MB, free: 7.133 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007306/0.214, allocations: 0.5907 MB / 453.7 MB, free: 6.539 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005636/0.2197, allocations: 7.821 MB / 461.6 MB, free: 14.46 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001834/0.2215, allocations: 1.356 MB / 462.9 MB, free: 13.15 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002225/0.2217, allocations: 155.8 kB / 463.1 MB, free: 13 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.674e-05/0.2218, allocations: 29.73 kB / 463.1 MB, free: 12.97 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.2219, allocations: 45.28 kB / 463.1 MB, free: 12.92 MB / 442.7 MB Notification: Performance of pre-optimization done (n=103): time 2.374e-06/0.2219, allocations: 0 / 463.1 MB, free: 12.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=110): time 0.002418/0.2243, allocations: 1.252 MB / 464.4 MB, free: 11.65 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.2243, allocations: 64.34 kB / 464.5 MB, free: 11.58 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004823/0.2248, allocations: 0.793 MB / 465.3 MB, free: 10.77 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.477e-05/0.2248, allocations: 42.86 kB / 465.3 MB, free: 10.72 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002585/0.2251, allocations: 0.6652 MB / 466 MB, free: 10.05 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001932/0.2253, allocations: 404.5 kB / 466.4 MB, free: 9.648 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002223/0.2255, allocations: 273.3 kB / 466.6 MB, free: 9.375 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.791e-05/0.2256, allocations: 305.1 kB / 466.9 MB, free: 9.074 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.2258, allocations: 171.9 kB / 467.1 MB, free: 8.906 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000413/0.2262, allocations: 0.6799 MB / 467.8 MB, free: 8.008 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009541/0.2271, allocations: 1.004 MB / 468.8 MB, free: 6.805 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-05/0.2272, allocations: 4.656 kB / 468.8 MB, free: 6.801 MB / 442.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001567/0.2287, allocations: 1.056 MB / 469.8 MB, free: 5.719 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/0.2288, allocations: 12 kB / 469.8 MB, free: 5.707 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.796e-05/0.2288, allocations: 20.69 kB / 469.9 MB, free: 5.688 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005733/0.2294, allocations: 227.4 kB / 470.1 MB, free: 5.438 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009589/0.2303, allocations: 357.1 kB / 470.4 MB, free: 5.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005587/0.2359, allocations: 9.586 MB / 480 MB, free: 10.77 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006885/0.2366, allocations: 51.94 kB / 480.1 MB, free: 10.72 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-05/0.2367, allocations: 56 kB / 480.1 MB, free: 10.67 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003339/0.237, allocations: 210.2 kB / 480.3 MB, free: 10.45 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/0.2372, allocations: 112.5 kB / 480.4 MB, free: 10.34 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001164/0.2383, allocations: 0.7751 MB / 481.2 MB, free: 9.531 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.397e-06/0.2383, allocations: 13.28 kB / 481.2 MB, free: 9.52 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.2383, allocations: 5.266 kB / 481.2 MB, free: 9.516 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/0.2384, allocations: 8.781 kB / 481.2 MB, free: 9.508 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002485/0.2408, allocations: 1.584 MB / 482.8 MB, free: 7.805 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.936e-06/0.2408, allocations: 4 kB / 482.8 MB, free: 7.801 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005891/0.2414, allocations: 192.5 kB / 483 MB, free: 7.613 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003465/0.2418, allocations: 175.1 kB / 483.2 MB, free: 7.441 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004788/0.2423, allocations: 211.3 kB / 483.4 MB, free: 7.207 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.485e-05/0.2423, allocations: 25.47 kB / 483.4 MB, free: 7.184 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005497/0.2478, allocations: 9.566 MB / 493 MB, free: 12.89 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.047e-05/0.2478, allocations: 8.484 kB / 493 MB, free: 12.88 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.249, allocations: 0.9555 MB / 493.9 MB, free: 11.81 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/0.2492, allocations: 36.48 kB / 494 MB, free: 11.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003978/0.2496, allocations: 20 kB / 494 MB, free: 11.75 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/0.2497, allocations: 108.6 kB / 494.1 MB, free: 11.64 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.123e-05/0.2498, allocations: 24 kB / 494.1 MB, free: 11.62 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000337/0.2501, allocations: 372.9 kB / 494.5 MB, free: 11.25 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2501, allocations: 0 / 494.5 MB, free: 11.25 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001268/0.2514, allocations: 401.4 kB / 494.9 MB, free: 10.86 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002129/0.2516, allocations: 118.8 kB / 495 MB, free: 10.73 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00174/0.2534, allocations: 1.637 MB / 496.6 MB, free: 9.008 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.355e-05/0.2534, allocations: 40.44 kB / 496.7 MB, free: 8.973 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001052/0.2545, allocations: 1.235 MB / 497.9 MB, free: 7.637 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.2557, allocations: 465.3 kB / 498.4 MB, free: 7.219 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009624/0.2653, allocations: 2.57 MB / 0.4892 GB, free: 4.551 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.2657, allocations: 361.3 kB / 0.4895 GB, free: 4.172 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006943/0.2663, allocations: 181.9 kB / 0.4897 GB, free: 4.031 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006295/0.267, allocations: 317.1 kB / 0.49 GB, free: 3.719 MB / 474.7 MB Notification: Performance of SimCode: time 1.473e-06/0.267, allocations: 0 / 0.49 GB, free: 3.719 MB / 474.7 MB Notification: Performance of Templates: time 0.028/0.295, allocations: 19.15 MB / 0.5087 GB, free: 1.117 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8537785494700074]