Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.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.00133/0.00133, allocations: 82.8 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.00156/0.00156, allocations: 170.8 kB / 22.46 MB, free: 5.348 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.43/1.43, 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.002485/0.002485, allocations: 248.2 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.062/1.062, allocations: 138.4 MB / 454.3 MB, free: 2.039 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 0.6468 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.015e-05/2.143e-05, allocations: 8.891 kB / 0.6468 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.2763/0.2763, allocations: 32.97 MB / 0.679 GB, free: 38.83 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01442/0.2907, allocations: 9.868 MB / 0.6886 GB, free: 32.4 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003034/0.2938, allocations: 188.2 kB / 0.6888 GB, free: 32.31 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.009249/0.303, allocations: 3.839 MB / 0.6926 GB, free: 30.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005318/0.3083, allocations: 2.211 MB / 0.6947 GB, free: 28.74 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00474/0.3131, allocations: 1.989 MB / 0.6967 GB, free: 27.61 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.009087/0.3222, allocations: 8.14 MB / 0.7046 GB, free: 23.79 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008641/0.3308, allocations: 5.243 MB / 0.7097 GB, free: 21.14 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008884/0.3397, allocations: 4.889 MB / 0.7145 GB, free: 18.55 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006118/0.3458, allocations: 3.464 MB / 0.7179 GB, free: 16.59 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001936/0.3477, allocations: 0.6824 MB / 0.7186 GB, free: 16.59 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004117/0.3519, allocations: 1.375 MB / 0.7199 GB, free: 16.2 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002771/0.3546, allocations: 2.801 MB / 0.7227 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00318/0.3578, allocations: 2.162 MB / 0.7248 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.009564/0.3674, allocations: 10.58 MB / 0.7351 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.3674, allocations: 0 / 0.7351 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3674, allocations: 5.625 kB / 0.7351 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0002188/0.3676, allocations: 0 / 0.7351 GB, free: 5.516 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.0112/0.3788, allocations: 5.407 MB / 0.7404 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.3788, allocations: 12.75 kB / 0.7404 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004602/0.3834, allocations: 0.9968 MB / 0.7414 GB, free: 148 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006369/0.3898, allocations: 3.135 MB / 0.7444 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002938/0.3901, allocations: 353.9 kB / 0.7448 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007946/0.3909, allocations: 468.3 kB / 0.7452 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01468/0.4056, allocations: 8.671 MB / 0.7537 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001009/0.4057, allocations: 16.06 kB / 0.7537 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000577/0.4063, allocations: 216.3 kB / 0.7539 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005635/0.4068, allocations: 369 kB / 0.7543 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01097/0.4178, allocations: 5.929 MB / 0.76 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03454/0.4523, allocations: 22.92 MB / 0.7824 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003749/0.4561, allocations: 1.984 MB / 0.7844 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002126/0.4582, allocations: 1.328 MB / 0.7857 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000108/0.4583, allocations: 17.31 kB / 0.7857 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.194e-05/0.4584, allocations: 51.88 kB / 0.7857 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=157): time 4.278e-06/0.4584, allocations: 4 kB / 0.7857 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of matching and sorting (n=160): time 0.01516/0.4735, allocations: 6.647 MB / 0.7922 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.575e-05/0.4736, allocations: 68.72 kB / 0.7923 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002756/0.4763, allocations: 1.709 MB / 0.794 GB, free: 8.898 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001457/0.4765, allocations: 53.7 kB / 0.794 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001726/0.4782, allocations: 2.195 MB / 0.7961 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005766/0.4788, allocations: 0.5731 MB / 0.7967 GB, free: 6.047 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007351/0.4795, allocations: 404 kB / 0.7971 GB, free: 5.645 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.4797, allocations: 305.1 kB / 0.7974 GB, free: 5.344 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001828/0.4815, allocations: 1.062 MB / 0.7984 GB, free: 4.277 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002436/0.4839, allocations: 1.76 MB / 0.8001 GB, free: 2.199 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004469/0.4884, allocations: 3.045 MB / 0.8031 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.177e-05/0.4884, allocations: 8 kB / 0.8031 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.00712/0.4955, allocations: 3.887 MB / 0.8069 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.433e-05/0.4956, allocations: 16 kB / 0.8069 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.259e-05/0.4956, allocations: 20 kB / 0.807 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002693/0.4983, allocations: 0.9392 MB / 0.8079 GB, free: 9.891 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001577/0.4999, allocations: 431.2 kB / 0.8083 GB, free: 9.469 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02291/0.5228, allocations: 21.1 MB / 0.8289 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00202/0.5248, allocations: 123.9 kB / 0.829 GB, free: 3.023 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003215/0.5251, allocations: 92 kB / 0.8291 GB, free: 2.934 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.003094/0.5282, allocations: 1.649 MB / 0.8307 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005783/0.5288, allocations: 250.4 kB / 0.8309 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00612/0.5349, allocations: 3.221 MB / 0.8341 GB, free: 13.75 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-05/0.5349, allocations: 16 kB / 0.8341 GB, free: 13.74 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.696e-05/0.535, allocations: 8 kB / 0.8341 GB, free: 13.73 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/0.535, allocations: 7.969 kB / 0.8341 GB, free: 13.72 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01258/0.5476, allocations: 6.453 MB / 0.8404 GB, free: 7.137 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/0.5476, allocations: 4 kB / 0.8404 GB, free: 7.133 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009915/0.5486, allocations: 218.5 kB / 0.8406 GB, free: 6.922 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002508/0.5511, allocations: 0.8965 MB / 0.8415 GB, free: 5.988 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001207/0.5512, allocations: 28 kB / 0.8415 GB, free: 5.961 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02308/0.5743, allocations: 21.07 MB / 0.8621 GB, free: 15.65 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/0.5743, allocations: 7.938 kB / 0.8621 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006243/0.5805, allocations: 3.333 MB / 0.8654 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001292/0.5818, allocations: 458.2 kB / 0.8658 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005017/0.5823, allocations: 35.94 kB / 0.8658 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001362/0.5837, allocations: 91.89 kB / 0.8659 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004022/0.5841, allocations: 148.9 kB / 0.8661 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000132/0.5842, allocations: 48 kB / 0.8661 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001729/0.586, allocations: 1.09 MB / 0.8672 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1e-07/0.586, allocations: 0 / 0.8672 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.00309/0.589, allocations: 0.8984 MB / 0.8681 GB, free: 9.422 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,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.000295/0.5893, allocations: 159 kB / 0.8682 GB, free: 9.258 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.006818/0.5962, allocations: 4.279 MB / 0.8724 GB, free: 4.832 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/0.5962, allocations: 4 kB / 0.8724 GB, free: 4.828 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.004452/0.6006, allocations: 2.902 MB / 0.8752 GB, free: 1.77 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00339/0.604, allocations: 0.7657 MB / 0.876 GB, free: 1.035 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01387/0.6179, allocations: 7.78 MB / 0.8836 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003484/0.6214, allocations: 2.672 MB / 0.8862 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001698/0.6231, allocations: 0.5044 MB / 0.8867 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003986/0.6235, allocations: 136.5 kB / 0.8868 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of SimCode: time 1.262e-06/0.6235, allocations: 0 / 0.8868 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of Templates: time 0.07552/0.699, allocations: 42.19 MB / 0.928 GB, free: 12.56 MB / 0.7637 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.55994975566864] Failed to read output from testmodel.py, exit status != 0: 0.7077441290020943 0.971087333 0.351389561 Calling exit ...