Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.000727/0.000727, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001166/0.001893, allocations: 440 kB / 10.41 MB, free: 284 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.0007458/0.0007458, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001541/0.002286, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9707/0.9707, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07739/1.048, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.002004/0.002004, allocations: 229.8 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001679/0.003682, allocations: 471.5 kB / 244.8 MB, free: 14.08 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.7174/0.7174, allocations: 138.7 MB / 384.3 MB, free: 364 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08281/0.8002, allocations: 42.41 MB / 426.7 MB, free: 5.82 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.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 4 kB / 428.1 MB, free: 4.496 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.777e-05/2.001e-05, allocations: 2.312 kB / 428.1 MB, free: 4.492 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.1841/0.1841, allocations: 9.383 MB / 437.4 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004325/0.1884, allocations: 2.99 MB / 440.4 MB, free: 15.07 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007107/0.1891, allocations: 84.97 kB / 440.5 MB, free: 15.03 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007078/0.1898, allocations: 361 kB / 440.9 MB, free: 14.82 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001151/0.191, allocations: 0.8057 MB / 441.7 MB, free: 14.33 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.192, allocations: 0.6297 MB / 442.3 MB, free: 13.99 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003224/0.1953, allocations: 4.196 MB / 446.5 MB, free: 12.2 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002756/0.198, allocations: 2.55 MB / 449 MB, free: 10.97 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002715/0.2007, allocations: 2.554 MB / 451.6 MB, free: 9.281 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002409/0.2031, allocations: 2.021 MB / 453.6 MB, free: 7.266 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004266/0.2036, allocations: 344.6 kB / 454 MB, free: 6.93 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006924/0.2043, allocations: 472.3 kB / 454.4 MB, free: 6.469 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008028/0.2051, allocations: 1.368 MB / 455.8 MB, free: 5.098 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009227/0.206, allocations: 0.8625 MB / 456.7 MB, free: 4.234 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001853/0.2078, allocations: 2.567 MB / 459.2 MB, free: 1.656 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.358e-05/0.2079, allocations: 0.6875 kB / 459.2 MB, free: 1.656 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2079, allocations: 1.688 kB / 459.2 MB, free: 1.656 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.354e-05/0.2079, allocations: 0 / 459.2 MB, free: 1.656 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: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.002811/0.2107, allocations: 2.995 MB / 462.2 MB, free: 14.63 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.93e-05/0.2108, allocations: 8.75 kB / 462.2 MB, free: 14.62 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002167/0.2129, allocations: 0.9152 MB / 463.1 MB, free: 13.69 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.2142, allocations: 1.164 MB / 464.3 MB, free: 12.51 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.609e-05/0.2143, allocations: 181.1 kB / 464.5 MB, free: 12.33 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002699/0.2145, allocations: 236.3 kB / 464.7 MB, free: 12.1 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002143/0.2167, allocations: 2.127 MB / 466.8 MB, free: 9.809 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.005e-05/0.2167, allocations: 4.875 kB / 466.8 MB, free: 9.805 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001521/0.2169, allocations: 100.4 kB / 466.9 MB, free: 9.707 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001197/0.217, allocations: 165.1 kB / 467.1 MB, free: 9.543 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.2181, allocations: 0.6669 MB / 467.8 MB, free: 8.855 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006623/0.2247, allocations: 8.247 MB / 476 MB, free: 336 kB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009824/0.2257, allocations: 0.7007 MB / 476.7 MB, free: 15.61 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001942/0.2259, allocations: 165.2 kB / 476.9 MB, free: 15.44 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.918e-05/0.2259, allocations: 25.89 kB / 476.9 MB, free: 15.41 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.226, allocations: 51.09 kB / 477 MB, free: 15.36 MB / 458.7 MB Notification: Performance of pre-optimization done (n=72): time 3.266e-06/0.226, allocations: 0 / 477 MB, free: 15.36 MB / 458.7 MB Notification: Performance of matching and sorting (n=76): time 0.001487/0.2275, allocations: 0.959 MB / 477.9 MB, free: 14.39 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.2275, allocations: 116.3 kB / 478 MB, free: 14.25 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005022/0.228, allocations: 0.7532 MB / 478.8 MB, free: 13.47 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.387e-05/0.228, allocations: 39.14 kB / 478.8 MB, free: 13.43 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003868/0.2284, allocations: 1.065 MB / 479.9 MB, free: 12.35 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/0.2285, allocations: 277.6 kB / 480.2 MB, free: 12.08 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002211/0.2288, allocations: 259.3 kB / 480.4 MB, free: 11.82 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.2289, allocations: 415.3 kB / 480.8 MB, free: 11.4 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.2291, allocations: 131.9 kB / 480.9 MB, free: 11.27 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000414/0.2295, allocations: 0.6947 MB / 481.6 MB, free: 10.32 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007993/0.2303, allocations: 1.054 MB / 482.7 MB, free: 9.027 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.687e-06/0.2303, allocations: 8 kB / 482.7 MB, free: 9.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.0009161/0.2312, allocations: 0.8932 MB / 483.6 MB, free: 8.117 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.2312, allocations: 12 kB / 483.6 MB, free: 8.105 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/0.2312, allocations: 20.81 kB / 483.6 MB, free: 8.086 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001834/0.2314, allocations: 115.8 kB / 483.7 MB, free: 7.957 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006119/0.232, allocations: 340.5 kB / 484.1 MB, free: 7.625 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.14e-05/0.232, allocations: 43.8 kB / 484.1 MB, free: 7.582 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003834/0.2324, allocations: 62.09 kB / 484.2 MB, free: 7.523 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.06e-05/0.2325, allocations: 57.95 kB / 484.2 MB, free: 7.469 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003491/0.2328, allocations: 209.2 kB / 484.4 MB, free: 7.254 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.233, allocations: 90.66 kB / 484.5 MB, free: 7.168 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000607/0.2336, allocations: 0.5063 MB / 485 MB, free: 6.641 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.2336, allocations: 9.125 kB / 485 MB, free: 6.633 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.2336, allocations: 4 kB / 485 MB, free: 6.629 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.2336, allocations: 7.922 kB / 485 MB, free: 6.621 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002053/0.2356, allocations: 1.771 MB / 486.8 MB, free: 4.777 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.2356, allocations: 4 kB / 486.8 MB, free: 4.773 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003058/0.2359, allocations: 141.2 kB / 487 MB, free: 4.637 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001797/0.2361, allocations: 143.2 kB / 487.1 MB, free: 4.496 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001447/0.2363, allocations: 87.45 kB / 487.2 MB, free: 4.395 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.644e-05/0.2363, allocations: 19.09 kB / 487.2 MB, free: 4.379 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.2363, allocations: 7.984 kB / 487.2 MB, free: 4.371 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.319e-06/0.2363, allocations: 7.938 kB / 487.2 MB, free: 4.363 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006891/0.237, allocations: 0.8667 MB / 488.1 MB, free: 3.43 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.858e-05/0.2371, allocations: 23.94 kB / 488.1 MB, free: 3.406 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002787/0.2374, allocations: 19.98 kB / 488.1 MB, free: 3.387 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.667e-05/0.2375, allocations: 62.16 kB / 488.2 MB, free: 3.328 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/0.2375, allocations: 16 kB / 488.2 MB, free: 3.312 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002688/0.2377, allocations: 338.1 kB / 488.5 MB, free: 2.969 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2377, allocations: 0 / 488.5 MB, free: 2.969 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008522/0.2386, allocations: 408.8 kB / 488.9 MB, free: 2.57 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001818/0.2388, allocations: 118.1 kB / 489.1 MB, free: 2.449 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000686/0.2395, allocations: 0.6196 MB / 489.7 MB, free: 1.828 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.72e-05/0.2395, allocations: 28.42 kB / 489.7 MB, free: 1.801 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003043/0.2398, allocations: 298.9 kB / 490 MB, free: 1.496 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/0.2412, allocations: 2.271 MB / 492.3 MB, free: 14.84 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01238/0.2536, allocations: 3.555 MB / 495.8 MB, free: 11.21 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004363/0.254, allocations: 0.5711 MB / 496.4 MB, free: 10.61 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.000484/0.2545, allocations: 166 kB / 496.6 MB, free: 10.48 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003948/0.2549, allocations: 269.9 kB / 496.8 MB, free: 10.22 MB / 474.7 MB Notification: Performance of SimCode: time 1.032e-06/0.2549, allocations: 0 / 496.8 MB, free: 10.22 MB / 474.7 MB Notification: Performance of Templates: time 0.01972/0.2746, allocations: 13.36 MB / 0.4982 GB, free: 13.48 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6546908067539334]