Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.00135/0.00135, allocations: 79.12 kB / 19.18 MB, free: 2.516 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.001462/0.001462, allocations: 166.1 kB / 22.45 MB, free: 5.375 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.423/1.423, allocations: 177.1 MB / 202.8 MB, free: 9.172 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.002456/0.002456, allocations: 233.4 kB / 259.4 MB, free: 480 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.054/1.054, allocations: 138.4 MB / 454.3 MB, free: 2.02 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_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.6468 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.484e-05/2.653e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.2812/0.2812, allocations: 19.12 MB / 0.6655 GB, free: 47.86 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01036/0.2915, allocations: 6.389 MB / 0.6717 GB, free: 43.73 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00155/0.2931, allocations: 109.5 kB / 0.6718 GB, free: 43.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005163/0.2983, allocations: 2.252 MB / 0.674 GB, free: 42.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002679/0.3009, allocations: 1.277 MB / 0.6753 GB, free: 41.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002751/0.3037, allocations: 1.305 MB / 0.6765 GB, free: 40.88 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004994/0.3087, allocations: 4.941 MB / 0.6814 GB, free: 38.6 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00514/0.3138, allocations: 3.162 MB / 0.6845 GB, free: 37.03 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005327/0.3191, allocations: 3.008 MB / 0.6874 GB, free: 35.59 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004105/0.3233, allocations: 2.19 MB / 0.6895 GB, free: 34.88 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001293/0.3245, allocations: 429.9 kB / 0.6899 GB, free: 34.88 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003009/0.3276, allocations: 0.9567 MB / 0.6909 GB, free: 34.67 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002879/0.3304, allocations: 1.785 MB / 0.6926 GB, free: 33.84 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.003974/0.3344, allocations: 1.333 MB / 0.6939 GB, free: 33.2 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00911/0.3435, allocations: 6.647 MB / 0.7004 GB, free: 30.57 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3435, allocations: 0 / 0.7004 GB, free: 30.57 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3435, allocations: 0 / 0.7004 GB, free: 30.57 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0002327/0.3438, allocations: 5.188 kB / 0.7004 GB, free: 30.57 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.009729/0.3535, allocations: 3.432 MB / 0.7038 GB, free: 28.22 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.3535, allocations: 10.41 kB / 0.7038 GB, free: 28.22 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003781/0.3573, allocations: 0.6563 MB / 0.7044 GB, free: 27.9 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003684/0.361, allocations: 1.997 MB / 0.7064 GB, free: 26.61 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001497/0.3611, allocations: 221.6 kB / 0.7066 GB, free: 26.51 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005121/0.3617, allocations: 296.2 kB / 0.7069 GB, free: 26.41 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007485/0.3691, allocations: 5.239 MB / 0.712 GB, free: 22.97 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.008e-05/0.3692, allocations: 17.64 kB / 0.712 GB, free: 22.96 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003391/0.3696, allocations: 134.5 kB / 0.7121 GB, free: 22.86 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004475/0.37, allocations: 227.6 kB / 0.7123 GB, free: 22.8 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00566/0.3757, allocations: 3.749 MB / 0.716 GB, free: 20.86 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01496/0.3906, allocations: 13.09 MB / 0.7288 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/0.3922, allocations: 1.228 MB / 0.73 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001182/0.3934, allocations: 0.981 MB / 0.7309 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.314e-05/0.3934, allocations: 16 kB / 0.731 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.3935, allocations: 44.38 kB / 0.731 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=107): time 3.327e-06/0.3935, allocations: 3.938 kB / 0.731 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of matching and sorting (n=138): time 0.02316/0.4166, allocations: 8.422 MB / 0.7392 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.4166, allocations: 64.72 kB / 0.7393 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/0.4177, allocations: 1.067 MB / 0.7403 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.195e-05/0.4178, allocations: 45.7 kB / 0.7404 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006874/0.4185, allocations: 1.342 MB / 0.7417 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004296/0.4189, allocations: 499.7 kB / 0.7422 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005173/0.4194, allocations: 287.5 kB / 0.7424 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.4195, allocations: 305.1 kB / 0.7427 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001381/0.4209, allocations: 0.9135 MB / 0.7436 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001726/0.4226, allocations: 1.326 MB / 0.7449 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003369/0.426, allocations: 2.43 MB / 0.7473 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.186e-06/0.426, allocations: 4 kB / 0.7473 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006586/0.4326, allocations: 3.418 MB / 0.7506 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.4326, allocations: 20.17 kB / 0.7507 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.4327, allocations: 12 kB / 0.7507 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003505/0.4362, allocations: 1.183 MB / 0.7518 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009634/0.4371, allocations: 251.6 kB / 0.7521 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01891/0.456, allocations: 13.27 MB / 0.765 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/0.4576, allocations: 91.97 kB / 0.7651 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001361/0.4577, allocations: 60 kB / 0.7652 GB, free: 6.762 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002149/0.4598, allocations: 1.122 MB / 0.7663 GB, free: 5.629 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003011/0.4601, allocations: 159 kB / 0.7664 GB, free: 5.473 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00627/0.4664, allocations: 3.137 MB / 0.7695 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.4664, allocations: 12 kB / 0.7695 GB, free: 2.297 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-05/0.4664, allocations: 12 kB / 0.7695 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/0.4665, allocations: 11.97 kB / 0.7695 GB, free: 2.273 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01043/0.4769, allocations: 5.456 MB / 0.7748 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.799e-06/0.4769, allocations: 4 kB / 0.7748 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006317/0.4775, allocations: 147.8 kB / 0.775 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003147/0.4807, allocations: 1.068 MB / 0.776 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.78e-05/0.4808, allocations: 35.56 kB / 0.7761 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01809/0.4989, allocations: 12.95 MB / 0.7887 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.4989, allocations: 8 kB / 0.7887 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005844/0.5047, allocations: 3.104 MB / 0.7917 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009338/0.5056, allocations: 346.9 kB / 0.7921 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002079/0.5058, allocations: 27.94 kB / 0.7921 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008479/0.5067, allocations: 83.89 kB / 0.7922 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003953/0.5071, allocations: 136.6 kB / 0.7923 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/0.5072, allocations: 43.94 kB / 0.7924 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001039/0.5082, allocations: 0.6982 MB / 0.793 GB, free: 9.688 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.5082, allocations: 4 kB / 0.793 GB, free: 9.684 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002149/0.5104, allocations: 0.6602 MB / 0.7937 GB, free: 9.023 MB / 0.6231 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000261/0.5106, allocations: 146.9 kB / 0.7938 GB, free: 8.871 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.005178/0.5158, allocations: 3.002 MB / 0.7968 GB, free: 5.824 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.5158, allocations: 0 / 0.7968 GB, free: 5.824 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.003186/0.519, allocations: 1.874 MB / 0.7986 GB, free: 3.914 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002272/0.5213, allocations: 473.7 kB / 0.799 GB, free: 3.484 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009874/0.5312, allocations: 5.509 MB / 0.8044 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002363/0.5335, allocations: 1.765 MB / 0.8061 GB, free: 12.1 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009967/0.5345, allocations: 341.3 kB / 0.8065 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002393/0.5348, allocations: 84.48 kB / 0.8065 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of SimCode: time 7.41e-07/0.5348, allocations: 0 / 0.8065 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of Templates: time 0.05759/0.5923, allocations: 32.98 MB / 0.8388 GB, free: 11.34 MB / 0.67 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.905379328876734] Failed to read output from testmodel.py, exit status != 0: 0.6011206991970539 0.615825649 0.26906805599999994 Calling exit ...