Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.0007979/0.0007979, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007972/0.0007972, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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.8513/0.8513, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.001434/0.001434, allocations: 236.7 kB / 260.2 MB, free: 13.02 MB / 250.7 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 0.6573/0.6573, allocations: 138.4 MB / 455.1 MB, free: 29.96 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 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.72e-07/9.72e-07, allocations: 0 / 0.6475 GB, free: 1.293 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.256e-05/1.354e-05, allocations: 2.281 kB / 0.6476 GB, free: 1.289 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.2139/0.2139, allocations: 28.69 MB / 0.6756 GB, free: 40.58 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01164/0.2255, allocations: 13.06 MB / 0.6883 GB, free: 32.11 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001555/0.2271, allocations: 190.6 kB / 0.6885 GB, free: 32.02 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.003559/0.2307, allocations: 3.219 MB / 0.6916 GB, free: 30.2 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.004135/0.2348, allocations: 2.831 MB / 0.6944 GB, free: 28.45 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002948/0.2377, allocations: 2.045 MB / 0.6964 GB, free: 27.3 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.005759/0.2435, allocations: 7.799 MB / 0.704 GB, free: 23.69 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004174/0.2477, allocations: 4.616 MB / 0.7085 GB, free: 21.07 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004516/0.2522, allocations: 4.781 MB / 0.7132 GB, free: 18.12 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002486/0.2547, allocations: 3.125 MB / 0.7162 GB, free: 16.35 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0005604/0.2552, allocations: 0.5991 MB / 0.7168 GB, free: 16.35 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001893/0.2571, allocations: 1.414 MB / 0.7182 GB, free: 15.89 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.001246/0.2584, allocations: 2.535 MB / 0.7207 GB, free: 14.2 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.001387/0.2598, allocations: 2.007 MB / 0.7226 GB, free: 13.09 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.004816/0.2646, allocations: 9.629 MB / 0.7321 GB, free: 4.352 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2646, allocations: 0 / 0.7321 GB, free: 4.352 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.914e-06/0.2646, allocations: 0 / 0.7321 GB, free: 4.352 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.457e-05/0.2647, allocations: 7.938 kB / 0.7321 GB, free: 4.344 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.004743/0.2694, allocations: 5.136 MB / 0.7371 GB, free: 15.14 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.2694, allocations: 8.75 kB / 0.7371 GB, free: 15.13 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002819/0.2723, allocations: 1.028 MB / 0.7381 GB, free: 14.1 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003636/0.2759, allocations: 3.02 MB / 0.741 GB, free: 10.99 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/0.276, allocations: 320.8 kB / 0.7413 GB, free: 10.68 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004089/0.2764, allocations: 422.2 kB / 0.7417 GB, free: 10.27 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007022/0.2835, allocations: 7.524 MB / 0.7491 GB, free: 2.273 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.652e-05/0.2835, allocations: 31.75 kB / 0.7491 GB, free: 2.242 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002892/0.2838, allocations: 184 kB / 0.7493 GB, free: 2.062 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004328/0.2843, allocations: 368 kB / 0.7497 GB, free: 1.699 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005357/0.2896, allocations: 5.106 MB / 0.7546 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01537/0.305, allocations: 19.03 MB / 0.7732 GB, free: 9.066 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/0.3062, allocations: 1.309 MB / 0.7745 GB, free: 7.75 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001241/0.3075, allocations: 1.247 MB / 0.7757 GB, free: 6.496 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.441e-05/0.3075, allocations: 13.31 kB / 0.7757 GB, free: 6.484 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.3076, allocations: 51.88 kB / 0.7758 GB, free: 6.426 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=130): time 3.207e-06/0.3076, allocations: 0 / 0.7758 GB, free: 6.426 MB / 0.6042 GB Notification: Performance of matching and sorting (n=199): time 0.0426/0.3502, allocations: 22.83 MB / 0.7981 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.3502, allocations: 69.41 kB / 0.7981 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001642/0.3519, allocations: 1.849 MB / 0.7999 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.534e-05/0.3519, allocations: 61.7 kB / 0.8 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008297/0.3528, allocations: 2.069 MB / 0.802 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003925/0.3532, allocations: 0.6971 MB / 0.8027 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007295/0.3539, allocations: 416.3 kB / 0.8031 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.19e-05/0.354, allocations: 301.1 kB / 0.8034 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001327/0.3553, allocations: 1.426 MB / 0.8048 GB, free: 8.582 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001564/0.3569, allocations: 2.017 MB / 0.8067 GB, free: 6.312 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003357/0.3602, allocations: 3.699 MB / 0.8104 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/0.3602, allocations: 8 kB / 0.8104 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.006175/0.3664, allocations: 5.573 MB / 0.8158 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.3664, allocations: 12 kB / 0.8158 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.3664, allocations: 19.94 kB / 0.8158 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003595/0.37, allocations: 2.084 MB / 0.8179 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007275/0.3708, allocations: 379.3 kB / 0.8182 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02267/0.3934, allocations: 35.85 MB / 0.8532 GB, free: 4.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.3946, allocations: 131.8 kB / 0.8534 GB, free: 4.371 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.3947, allocations: 88 kB / 0.8535 GB, free: 4.285 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.001832/0.3965, allocations: 1.505 MB / 0.8549 GB, free: 2.77 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002258/0.3968, allocations: 274.3 kB / 0.8552 GB, free: 2.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005924/0.4027, allocations: 5.138 MB / 0.8602 GB, free: 13.29 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.4027, allocations: 19.94 kB / 0.8602 GB, free: 13.27 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.712e-05/0.4027, allocations: 24 kB / 0.8602 GB, free: 13.25 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.4027, allocations: 11.95 kB / 0.8603 GB, free: 13.23 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009216/0.4119, allocations: 8.434 MB / 0.8685 GB, free: 4.613 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.412, allocations: 4 kB / 0.8685 GB, free: 4.609 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000415/0.4124, allocations: 219.6 kB / 0.8687 GB, free: 4.395 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002868/0.4152, allocations: 1.834 MB / 0.8705 GB, free: 2.504 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-05/0.4153, allocations: 43.94 kB / 0.8705 GB, free: 2.461 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02126/0.4366, allocations: 34.86 MB / 0.9046 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/0.4366, allocations: 15.92 kB / 0.9046 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005371/0.4419, allocations: 4.804 MB / 0.9093 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007357/0.4427, allocations: 0.5294 MB / 0.9098 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001742/0.4429, allocations: 51.92 kB / 0.9099 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006737/0.4435, allocations: 123.8 kB / 0.91 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003741/0.4439, allocations: 197.7 kB / 0.9102 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.127e-05/0.444, allocations: 64 kB / 0.9102 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00108/0.4451, allocations: 1.211 MB / 0.9114 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.4451, allocations: 0 / 0.9114 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002109/0.4472, allocations: 1.039 MB / 0.9124 GB, free: 5.551 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002052/0.4474, allocations: 166.9 kB / 0.9126 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00545/0.4528, allocations: 6.002 MB / 0.9184 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.4528, allocations: 4 kB / 0.9184 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.003502/0.4563, allocations: 4.271 MB / 0.9226 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001925/0.4583, allocations: 0.9105 MB / 0.9235 GB, free: 9.785 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009043/0.4673, allocations: 8.793 MB / 0.9321 GB, free: 0.9023 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1978/0.6651, allocations: 2.628 MB / 0.9347 GB, free: 225.8 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005186/0.6656, allocations: 151.2 kB / 0.9348 GB, free: 225.8 MB / 0.7605 GB Notification: Performance of SimCode: time 1.202e-06/0.6656, allocations: 1.594 kB / 0.9348 GB, free: 225.8 MB / 0.7605 GB Notification: Performance of Templates: time 0.3831/1.049, allocations: 465.2 MB / 1.389 GB, free: 133.5 MB / 0.7917 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.548766977153718] Failed to read output from testmodel.py, exit status != 0: 1.0538840610533953 1.059520739 0.793642916 Calling exit ...