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.001364/0.001364, allocations: 78.41 kB / 19.18 MB, free: 2.531 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.00155/0.00155, allocations: 169.9 kB / 22.46 MB, free: 5.363 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.449/1.449, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.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.002562/0.002562, allocations: 245.3 kB / 259.4 MB, free: 468 kB / 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.065/1.065, allocations: 138.4 MB / 454.3 MB, free: 1.973 MB / 366.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.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.332e-06/1.332e-06, allocations: 0 / 0.6468 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.078e-05/2.211e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.3026/0.3027, allocations: 10.49 MB / 0.6571 GB, free: 52.4 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008206/0.3109, allocations: 5.57 MB / 0.6625 GB, free: 49.06 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001287/0.3121, allocations: 74.72 kB / 0.6626 GB, free: 49.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004267/0.3164, allocations: 1.728 MB / 0.6643 GB, free: 48.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00331/0.3197, allocations: 1.223 MB / 0.6654 GB, free: 47.35 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002035/0.3218, allocations: 0.8181 MB / 0.6662 GB, free: 46.94 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002343/0.3241, allocations: 2.191 MB / 0.6684 GB, free: 45.9 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001122/0.3252, allocations: 1.015 MB / 0.6694 GB, free: 45.41 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001413/0.3266, allocations: 1.21 MB / 0.6706 GB, free: 44.91 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001141/0.3278, allocations: 0.828 MB / 0.6714 GB, free: 44.65 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001603/0.3279, allocations: 113.9 kB / 0.6715 GB, free: 44.65 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001923/0.3299, allocations: 1.071 MB / 0.6725 GB, free: 44.29 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005113/0.3304, allocations: 0.5691 MB / 0.6731 GB, free: 44.02 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005996/0.331, allocations: 0.5315 MB / 0.6736 GB, free: 43.8 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003299/0.3343, allocations: 2.49 MB / 0.676 GB, free: 42.98 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.3343, allocations: 0.7031 kB / 0.676 GB, free: 42.98 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3343, allocations: 0 / 0.676 GB, free: 42.98 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.573e-05/0.3343, allocations: 2.594 kB / 0.676 GB, free: 42.98 MB / 0.5606 GB 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.002784/0.3371, allocations: 1.822 MB / 0.6778 GB, free: 41.8 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.3371, allocations: 12.38 kB / 0.6778 GB, free: 41.8 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004664/0.3418, allocations: 0.6792 MB / 0.6785 GB, free: 41.68 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001789/0.3436, allocations: 0.9223 MB / 0.6794 GB, free: 41.16 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.504e-05/0.3436, allocations: 101.5 kB / 0.6795 GB, free: 41.11 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002018/0.3439, allocations: 131.2 kB / 0.6796 GB, free: 41.06 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003124/0.347, allocations: 2.401 MB / 0.682 GB, free: 39.61 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.514e-05/0.347, allocations: 11.33 kB / 0.682 GB, free: 39.6 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001419/0.3472, allocations: 61.75 kB / 0.682 GB, free: 39.56 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000229/0.3474, allocations: 169.6 kB / 0.6822 GB, free: 39.53 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002875/0.3503, allocations: 1.86 MB / 0.684 GB, free: 38.88 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009276/0.3595, allocations: 9.188 MB / 0.693 GB, free: 31.91 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004234/0.3638, allocations: 1.868 MB / 0.6948 GB, free: 31.41 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008131/0.3646, allocations: 0.5543 MB / 0.6953 GB, free: 31.23 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001448/0.3647, allocations: 25.28 kB / 0.6954 GB, free: 31.22 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.3648, allocations: 44.5 kB / 0.6954 GB, free: 31.17 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=103): time 3.316e-06/0.3648, allocations: 0 / 0.6954 GB, free: 31.17 MB / 0.5606 GB Notification: Performance of matching and sorting (n=110): time 0.005864/0.3706, allocations: 3.116 MB / 0.6984 GB, free: 29.96 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.3707, allocations: 72.25 kB / 0.6985 GB, free: 29.89 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001245/0.3719, allocations: 0.8754 MB / 0.6994 GB, free: 29.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.71e-05/0.372, allocations: 45.14 kB / 0.6994 GB, free: 29.46 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004273/0.3724, allocations: 0.7563 MB / 0.7002 GB, free: 28.85 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002536/0.3727, allocations: 392.1 kB / 0.7005 GB, free: 28.54 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004252/0.3731, allocations: 287.5 kB / 0.7008 GB, free: 28.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.763e-05/0.3731, allocations: 305.6 kB / 0.7011 GB, free: 28.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009052/0.374, allocations: 0.6131 MB / 0.7017 GB, free: 27.89 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/0.3751, allocations: 1.108 MB / 0.7028 GB, free: 27.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001964/0.3771, allocations: 1.83 MB / 0.7046 GB, free: 25.88 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/0.3771, allocations: 8 kB / 0.7046 GB, free: 25.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003173/0.3802, allocations: 2.094 MB / 0.7066 GB, free: 25.03 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.3803, allocations: 12.31 kB / 0.7066 GB, free: 25.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.086e-05/0.3803, allocations: 15.84 kB / 0.7066 GB, free: 25.03 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007712/0.3811, allocations: 262.9 kB / 0.7069 GB, free: 24.92 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.3823, allocations: 376.1 kB / 0.7073 GB, free: 24.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006004/0.3883, allocations: 10.55 MB / 0.7176 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/0.3896, allocations: 128.1 kB / 0.7177 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/0.3897, allocations: 71.58 kB / 0.7177 GB, free: 14.65 MB / 0.5606 GB 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.0006929/0.3904, allocations: 404.6 kB / 0.7181 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001882/0.3906, allocations: 132.1 kB / 0.7183 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002568/0.3932, allocations: 1.671 MB / 0.7199 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.3932, allocations: 15.39 kB / 0.7199 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3932, allocations: 2.156 kB / 0.7199 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.3932, allocations: 5.141 kB / 0.7199 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004436/0.3977, allocations: 2.943 MB / 0.7228 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.3977, allocations: 4.125 kB / 0.7228 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008403/0.3985, allocations: 222.6 kB / 0.723 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006601/0.3992, allocations: 249.6 kB / 0.7232 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-05/0.3992, allocations: 26.75 kB / 0.7233 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005838/0.4051, allocations: 10.54 MB / 0.7336 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.944e-06/0.4051, allocations: 8.938 kB / 0.7336 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002952/0.408, allocations: 1.789 MB / 0.7353 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007347/0.4088, allocations: 221.7 kB / 0.7355 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002821/0.409, allocations: 35.62 kB / 0.7356 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008832/0.4099, allocations: 89.64 kB / 0.7356 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002497/0.4102, allocations: 104.5 kB / 0.7357 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.09e-05/0.4103, allocations: 34.91 kB / 0.7358 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001014/0.4113, allocations: 0.5644 MB / 0.7363 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.4113, allocations: 1.469 kB / 0.7363 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001745/0.413, allocations: 391.6 kB / 0.7367 GB, free: 15.07 MB / 0.5762 GB 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.0003044/0.4133, allocations: 147.9 kB / 0.7368 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004224/0.4175, allocations: 2.4 MB / 0.7392 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.425e-05/0.4176, allocations: 6.219 kB / 0.7392 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002424/0.42, allocations: 1.58 MB / 0.7407 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001996/0.422, allocations: 350.1 kB / 0.7411 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005398/0.4274, allocations: 2.776 MB / 0.7438 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001169/0.4285, allocations: 0.7412 MB / 0.7445 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001084/0.4296, allocations: 350.9 kB / 0.7448 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003424/0.43, allocations: 96.48 kB / 0.7449 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of SimCode: time 1.112e-06/0.43, allocations: 0 / 0.7449 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of Templates: time 0.0346/0.4646, allocations: 17.25 MB / 0.7618 GB, free: 8.395 MB / 0.5919 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.473375957459211] Failed to read output from testmodel.py, exit status != 0: 0.47454580664634705 0.49823299800000004 0.159767447 Calling exit ...