Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.001871/0.001871, allocations: 77.33 kB / 19.18 MB, free: 2.512 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.001495/0.001495, allocations: 161.2 kB / 22.46 MB, free: 5.391 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.421/1.421, allocations: 177.1 MB / 202.8 MB, free: 9.148 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.002489/0.002489, allocations: 238 kB / 259.4 MB, free: 452 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: 2.031 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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.6468 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.271e-05/2.407e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.2828/0.2828, allocations: 35.65 MB / 0.6816 GB, free: 37.68 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01759/0.3004, allocations: 10.95 MB / 0.6923 GB, free: 30.54 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003206/0.3036, allocations: 200.5 kB / 0.6925 GB, free: 30.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.01083/0.3145, allocations: 4.393 MB / 0.6968 GB, free: 27.97 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006628/0.3211, allocations: 2.402 MB / 0.6992 GB, free: 26.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005473/0.3266, allocations: 2.188 MB / 0.7013 GB, free: 25.2 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01064/0.3372, allocations: 9.462 MB / 0.7105 GB, free: 20.79 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008657/0.3459, allocations: 6.356 MB / 0.7167 GB, free: 17.11 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009629/0.3555, allocations: 5.78 MB / 0.7224 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007424/0.3629, allocations: 4.195 MB / 0.7265 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.002654/0.3656, allocations: 0.8228 MB / 0.7273 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005154/0.3707, allocations: 1.522 MB / 0.7288 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.003739/0.3745, allocations: 3.369 MB / 0.7321 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.004789/0.3793, allocations: 2.563 MB / 0.7346 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0123/0.3916, allocations: 12.57 MB / 0.7468 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.3916, allocations: 0 / 0.7468 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3916, allocations: 1.312 kB / 0.7468 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002864/0.3918, allocations: 0 / 0.7468 GB, free: 10.78 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01307/0.4049, allocations: 6.325 MB / 0.753 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.405, allocations: 8.75 kB / 0.753 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005112/0.4101, allocations: 1.117 MB / 0.7541 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006629/0.4167, allocations: 3.571 MB / 0.7576 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003263/0.417, allocations: 427.7 kB / 0.758 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009029/0.4179, allocations: 0.5433 MB / 0.7585 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01784/0.4358, allocations: 10.28 MB / 0.7686 GB, free: 3.836 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000125/0.4359, allocations: 20.02 kB / 0.7686 GB, free: 3.816 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006398/0.4365, allocations: 248.3 kB / 0.7688 GB, free: 3.574 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006506/0.4372, allocations: 430.8 kB / 0.7693 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01277/0.45, allocations: 7.112 MB / 0.7762 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03659/0.4865, allocations: 25.32 MB / 0.8009 GB, free: 2.117 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004915/0.4915, allocations: 2.89 MB / 0.8038 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003062/0.4945, allocations: 1.938 MB / 0.8056 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001229/0.4946, allocations: 25.98 kB / 0.8057 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.607e-05/0.4947, allocations: 64.56 kB / 0.8057 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=209): time 4.488e-06/0.4947, allocations: 0 / 0.8057 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of matching and sorting (n=212): time 0.02624/0.521, allocations: 10.25 MB / 0.8157 GB, free: 2.922 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.938e-05/0.521, allocations: 81.41 kB / 0.8158 GB, free: 2.832 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003189/0.5242, allocations: 1.825 MB / 0.8176 GB, free: 0.9766 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001745/0.5244, allocations: 65.7 kB / 0.8177 GB, free: 0.9062 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002127/0.5265, allocations: 2.481 MB / 0.8201 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007861/0.5273, allocations: 0.7552 MB / 0.8208 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008631/0.5282, allocations: 469.5 kB / 0.8213 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.5283, allocations: 313 kB / 0.8216 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002291/0.5306, allocations: 1.368 MB / 0.8229 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003001/0.5336, allocations: 2.112 MB / 0.825 GB, free: 9.062 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005554/0.5392, allocations: 3.758 MB / 0.8286 GB, free: 4.992 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-05/0.5392, allocations: 8 kB / 0.8286 GB, free: 4.984 MB / 0.6544 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008959/0.5481, allocations: 5.014 MB / 0.8335 GB, free: 15.95 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.063e-05/0.5482, allocations: 15.94 kB / 0.8336 GB, free: 15.93 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.569e-05/0.5482, allocations: 24.75 kB / 0.8336 GB, free: 15.91 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003867/0.5521, allocations: 1.586 MB / 0.8351 GB, free: 14.32 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001813/0.5539, allocations: 455.2 kB / 0.8356 GB, free: 13.87 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02541/0.5793, allocations: 17.79 MB / 0.8529 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002218/0.5815, allocations: 147.9 kB / 0.8531 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003851/0.5819, allocations: 104 kB / 0.8532 GB, free: 11.43 MB / 0.6856 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003823/0.5857, allocations: 1.941 MB / 0.8551 GB, free: 9.477 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006859/0.5864, allocations: 282.3 kB / 0.8553 GB, free: 9.199 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008055/0.5945, allocations: 4.389 MB / 0.8596 GB, free: 4.781 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.22e-05/0.5945, allocations: 27.94 kB / 0.8596 GB, free: 4.754 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-05/0.5945, allocations: 20.12 kB / 0.8597 GB, free: 4.734 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.053e-05/0.5946, allocations: 11.95 kB / 0.8597 GB, free: 4.723 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01716/0.6117, allocations: 8.346 MB / 0.8678 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.479e-05/0.6117, allocations: 4 kB / 0.8678 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001104/0.6128, allocations: 228.2 kB / 0.8681 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003717/0.6166, allocations: 1.419 MB / 0.8694 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001626/0.6167, allocations: 40 kB / 0.8695 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02578/0.6425, allocations: 17.78 MB / 0.8868 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.478e-06/0.6425, allocations: 11.94 kB / 0.8868 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008474/0.651, allocations: 4.478 MB / 0.8912 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001497/0.6525, allocations: 0.5481 MB / 0.8918 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005586/0.653, allocations: 55.81 kB / 0.8918 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001561/0.6546, allocations: 115.9 kB / 0.8919 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005597/0.6552, allocations: 189.7 kB / 0.8921 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001708/0.6553, allocations: 56 kB / 0.8922 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002054/0.6574, allocations: 1.168 MB / 0.8933 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6e-08/0.6574, allocations: 0 / 0.8933 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003508/0.6609, allocations: 1.133 MB / 0.8944 GB, free: 0.5273 MB / 0.7169 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000373/0.6613, allocations: 171 kB / 0.8946 GB, free: 360 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.008231/0.6695, allocations: 4.536 MB / 0.899 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/0.6695, allocations: 4 kB / 0.899 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005136/0.6746, allocations: 2.794 MB / 0.9017 GB, free: 8.918 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003825/0.6785, allocations: 0.8206 MB / 0.9025 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01812/0.6966, allocations: 9.522 MB / 0.9118 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005373/0.702, allocations: 3.166 MB / 0.9149 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001949/0.7039, allocations: 0.5304 MB / 0.9154 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005039/0.7044, allocations: 140.5 kB / 0.9156 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of SimCode: time 1.122e-06/0.7044, allocations: 0 / 0.9156 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of Templates: time 0.3194/1.024, allocations: 52.01 MB / 0.9664 GB, free: 222.4 MB / 0.7637 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.8475538194179535] Failed to read output from testmodel.py, exit status != 0: 1.0322287119925022 1.043149797 0.648925693 Calling exit ...