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.001335/0.001335, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001504/0.001504, allocations: 216.4 kB / 22.25 MB, free: 4.855 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.524/1.524, allocations: 230.6 MB / 256 MB, free: 7.805 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.002779/0.002779, allocations: 288.4 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.293/1.293, allocations: 180.6 MB / 0.5369 GB, free: 14.54 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.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: 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.002987/0.002987, allocations: 101.7 kB / 0.74 GB, free: 27.92 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1656, allocations: 95.38 MB / 0.8331 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02276/0.1883, allocations: 15.47 MB / 0.8482 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01063/0.199, allocations: 4.774 MB / 0.8529 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00131/0.2003, allocations: 83.38 kB / 0.853 GB, free: 3.461 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00316/0.2034, allocations: 1.053 MB / 0.854 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002156/0.2056, allocations: 0.7854 MB / 0.8548 GB, free: 1.617 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002552/0.2082, allocations: 0.9132 MB / 0.8557 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004475/0.2126, allocations: 3.618 MB / 0.8592 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00402/0.2166, allocations: 2.438 MB / 0.8616 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002543/0.2192, allocations: 1.628 MB / 0.8632 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002999/0.2222, allocations: 1.787 MB / 0.8649 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0005801/0.2228, allocations: 343.9 kB / 0.8652 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001633/0.2244, allocations: 0.7412 MB / 0.866 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001582/0.226, allocations: 1.364 MB / 0.8673 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00168/0.2277, allocations: 1.183 MB / 0.8685 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006188/0.2339, allocations: 5.171 MB / 0.8735 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2339, allocations: 0 / 0.8735 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2339, allocations: 0 / 0.8735 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001385/0.234, allocations: 0 / 0.8735 GB, free: 14.31 MB / 0.6231 GB 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.005994/0.24, allocations: 2.632 MB / 0.8761 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/0.24, allocations: 8.75 kB / 0.8761 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004015/0.2441, allocations: 0.8537 MB / 0.8769 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003507/0.2476, allocations: 1.535 MB / 0.8784 GB, free: 9.207 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001662/0.2477, allocations: 177.1 kB / 0.8786 GB, free: 9.031 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000597/0.2483, allocations: 232.3 kB / 0.8788 GB, free: 8.805 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007729/0.2561, allocations: 4.266 MB / 0.883 GB, free: 4.375 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-05/0.2561, allocations: 3.984 kB / 0.883 GB, free: 4.371 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002738/0.2564, allocations: 115.9 kB / 0.8831 GB, free: 4.258 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002156/0.2566, allocations: 164.5 kB / 0.8832 GB, free: 4.094 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006699/0.2633, allocations: 3.625 MB / 0.8868 GB, free: 464 kB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01766/0.281, allocations: 10.46 MB / 0.897 GB, free: 5.668 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003218/0.2842, allocations: 1.479 MB / 0.8984 GB, free: 4.172 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009198/0.2851, allocations: 0.547 MB / 0.899 GB, free: 3.617 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/0.2852, allocations: 12.66 kB / 0.899 GB, free: 3.605 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.409e-05/0.2853, allocations: 55.14 kB / 0.899 GB, free: 3.539 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=72): time 3.457e-06/0.2853, allocations: 0 / 0.899 GB, free: 3.539 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.00572/0.291, allocations: 3.197 MB / 0.9022 GB, free: 328 kB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.234e-05/0.2911, allocations: 115.5 kB / 0.9023 GB, free: 188 kB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001443/0.2925, allocations: 1.044 MB / 0.9033 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.77e-05/0.2926, allocations: 41.7 kB / 0.9033 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008473/0.2934, allocations: 1.138 MB / 0.9044 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002548/0.2937, allocations: 285.6 kB / 0.9047 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004193/0.2941, allocations: 283.4 kB / 0.905 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002316/0.2943, allocations: 406.7 kB / 0.9054 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009913/0.2953, allocations: 0.6207 MB / 0.906 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00148/0.2968, allocations: 1.182 MB / 0.9071 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0025/0.2993, allocations: 1.868 MB / 0.909 GB, free: 8.746 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-05/0.2993, allocations: 8 kB / 0.909 GB, free: 8.738 MB / 0.6544 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003494/0.3028, allocations: 2.015 MB / 0.9109 GB, free: 6.703 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.063e-05/0.3028, allocations: 19.88 kB / 0.911 GB, free: 6.684 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.81e-05/0.3028, allocations: 20 kB / 0.911 GB, free: 6.664 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004589/0.3033, allocations: 163.3 kB / 0.9111 GB, free: 6.492 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/0.3045, allocations: 343.8 kB / 0.9115 GB, free: 6.156 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.454e-05/0.3045, allocations: 39.86 kB / 0.9115 GB, free: 6.117 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/0.3056, allocations: 131.8 kB / 0.9116 GB, free: 5.988 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/0.3057, allocations: 67.98 kB / 0.9117 GB, free: 5.922 MB / 0.6544 GB 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.001538/0.3073, allocations: 0.9817 MB / 0.9126 GB, free: 4.93 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000257/0.3075, allocations: 111.3 kB / 0.9128 GB, free: 4.82 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002248/0.3098, allocations: 1.225 MB / 0.9139 GB, free: 3.566 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.3098, allocations: 8 kB / 0.914 GB, free: 3.559 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/0.3098, allocations: 7.938 kB / 0.914 GB, free: 3.551 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.3098, allocations: 3.984 kB / 0.914 GB, free: 3.547 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00544/0.3152, allocations: 2.885 MB / 0.9168 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.3152, allocations: 3.984 kB / 0.9168 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006427/0.3159, allocations: 155.8 kB / 0.9169 GB, free: 440 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003738/0.3163, allocations: 139.3 kB / 0.9171 GB, free: 288 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.864e-05/0.3163, allocations: 23.98 kB / 0.9171 GB, free: 264 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.834e-06/0.3163, allocations: 4 kB / 0.9171 GB, free: 260 kB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.633e-06/0.3163, allocations: 4 kB / 0.9171 GB, free: 256 kB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002221/0.3185, allocations: 1.474 MB / 0.9185 GB, free: 14.72 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005583/0.3191, allocations: 199.2 kB / 0.9187 GB, free: 14.53 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001406/0.3192, allocations: 15.94 kB / 0.9187 GB, free: 14.51 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006055/0.3198, allocations: 68 kB / 0.9188 GB, free: 14.45 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.32, allocations: 68.41 kB / 0.9189 GB, free: 14.38 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.542e-05/0.32, allocations: 23.98 kB / 0.9189 GB, free: 14.36 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009941/0.321, allocations: 0.6871 MB / 0.9196 GB, free: 13.66 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/0.321, allocations: 0 / 0.9196 GB, free: 13.66 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001412/0.3224, allocations: 388 kB / 0.9199 GB, free: 13.28 MB / 0.67 GB 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.0002026/0.3226, allocations: 127.1 kB / 0.9201 GB, free: 13.14 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002416/0.3251, allocations: 1.359 MB / 0.9214 GB, free: 11.77 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3251, allocations: 0 / 0.9214 GB, free: 11.77 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008971/0.326, allocations: 0.5378 MB / 0.9219 GB, free: 11.23 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/0.3274, allocations: 262.5 kB / 0.9222 GB, free: 10.98 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006504/0.3339, allocations: 3.832 MB / 0.9259 GB, free: 7.078 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001763/0.3357, allocations: 1.336 MB / 0.9272 GB, free: 5.699 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001139/0.3368, allocations: 445.3 kB / 0.9276 GB, free: 5.262 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002294/0.337, allocations: 79.42 kB / 0.9277 GB, free: 5.184 MB / 0.67 GB Notification: Performance of SimCode: time 1.222e-06/0.337, allocations: 0 / 0.9277 GB, free: 5.184 MB / 0.67 GB Notification: Performance of Templates: time 0.02925/0.3663, allocations: 15.27 MB / 0.9426 GB, free: 6.207 MB / 0.6856 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.636863321065903] Failed to read output from testmodel.py, exit status != 0: 0.374080415815115 0.390219523 0.15299277 Calling exit ...