Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 191.6 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002535/0.002535, allocations: 294.3 kB / 306.6 MB, free: 8.359 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.221/1.221, allocations: 180.9 MB / 0.53 GB, free: 14.49 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002821/0.002821, allocations: 103 kB / 0.7308 GB, free: 38.94 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1603, allocations: 94.2 MB / 0.8228 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01921/0.1795, allocations: 14.56 MB / 0.8371 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01547/0.195, allocations: 9.767 MB / 0.8466 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00131/0.1963, allocations: 83.25 kB / 0.8467 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004715/0.201, allocations: 1.74 MB / 0.8484 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004628/0.2056, allocations: 1.574 MB / 0.8499 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002077/0.2077, allocations: 0.7717 MB / 0.8507 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003912/0.2116, allocations: 2.528 MB / 0.8531 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001723/0.2133, allocations: 0.9976 MB / 0.8541 GB, free: 1.754 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001773/0.2151, allocations: 1.086 MB / 0.8552 GB, free: 0.6641 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002012/0.2171, allocations: 1.214 MB / 0.8564 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002911/0.2174, allocations: 164 kB / 0.8565 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001673/0.2191, allocations: 0.8111 MB / 0.8573 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000701/0.2198, allocations: 0.6269 MB / 0.8579 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001365/0.2211, allocations: 0.9407 MB / 0.8588 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004146/0.2253, allocations: 2.771 MB / 0.8615 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.2253, allocations: 0 / 0.8615 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.346e-06/0.2253, allocations: 4 kB / 0.8615 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.561e-05/0.2253, allocations: 0 / 0.8615 GB, free: 10.11 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004405/0.2298, allocations: 2.124 MB / 0.8636 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.2298, allocations: 8.031 kB / 0.8636 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01221/0.242, allocations: 2.094 MB / 0.8657 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003234/0.2452, allocations: 1.216 MB / 0.8669 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.704e-05/0.2453, allocations: 94.72 kB / 0.867 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002921/0.2456, allocations: 124.1 kB / 0.8671 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006509/0.2521, allocations: 2.687 MB / 0.8697 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.15e-05/0.2522, allocations: 4 kB / 0.8697 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001795/0.2524, allocations: 55.98 kB / 0.8698 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007277/0.2531, allocations: 182.1 kB / 0.8699 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008409/0.2615, allocations: 2.795 MB / 0.8727 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01801/0.2795, allocations: 10.36 MB / 0.8828 GB, free: 3.551 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007362/0.2869, allocations: 2.223 MB / 0.8849 GB, free: 1.316 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003374/0.2902, allocations: 1.212 MB / 0.8861 GB, free: 104 kB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 6.97e-05/0.2903, allocations: 9 kB / 0.8861 GB, free: 96 kB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.834e-05/0.2904, allocations: 47.56 kB / 0.8862 GB, free: 36 kB / 0.6231 GB Notification: Performance of pre-optimization done (n=89): time 3.066e-06/0.2904, allocations: 0 / 0.8862 GB, free: 36 kB / 0.6231 GB Notification: Performance of matching and sorting (n=131): time 0.05042/0.3408, allocations: 12.66 MB / 0.8985 GB, free: 3.332 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.675e-05/0.3408, allocations: 64.72 kB / 0.8986 GB, free: 3.258 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001802/0.3426, allocations: 1.121 MB / 0.8997 GB, free: 2.121 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001888/0.3428, allocations: 45.7 kB / 0.8997 GB, free: 2.07 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006302/0.3435, allocations: 0.7287 MB / 0.9005 GB, free: 1.336 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005572/0.344, allocations: 475.9 kB / 0.9009 GB, free: 0.8672 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006065/0.3446, allocations: 263.5 kB / 0.9012 GB, free: 0.6055 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.3448, allocations: 361.9 kB / 0.9015 GB, free: 252 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003691/0.3485, allocations: 1.335 MB / 0.9028 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0039/0.3524, allocations: 1.608 MB / 0.9044 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007623/0.36, allocations: 2.991 MB / 0.9073 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/0.36, allocations: 4 kB / 0.9073 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01277/0.3728, allocations: 4.397 MB / 0.9116 GB, free: 5.664 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.906e-05/0.3728, allocations: 11.98 kB / 0.9116 GB, free: 5.652 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.929e-05/0.3729, allocations: 8 kB / 0.9116 GB, free: 5.645 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0058/0.3787, allocations: 1.431 MB / 0.913 GB, free: 4.172 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002241/0.3809, allocations: 439.2 kB / 0.9134 GB, free: 3.742 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03039/0.4113, allocations: 25.38 MB / 0.9382 GB, free: 8.859 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003031/0.4143, allocations: 299.5 kB / 0.9385 GB, free: 8.566 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004021/0.4147, allocations: 63.91 kB / 0.9386 GB, free: 8.504 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001428/0.4161, allocations: 437.5 kB / 0.939 GB, free: 8.066 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006676/0.4168, allocations: 171 kB / 0.9391 GB, free: 7.898 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0134/0.4302, allocations: 4.406 MB / 0.9435 GB, free: 3.438 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.695e-05/0.4302, allocations: 12 kB / 0.9435 GB, free: 3.426 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.723e-05/0.4303, allocations: 16 kB / 0.9435 GB, free: 3.41 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.702e-05/0.4303, allocations: 3.984 kB / 0.9435 GB, free: 3.406 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0176/0.4479, allocations: 6.7 MB / 0.95 GB, free: 12.54 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/0.4479, allocations: 4 kB / 0.95 GB, free: 12.54 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002011/0.4499, allocations: 375.4 kB / 0.9504 GB, free: 12.17 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005281/0.4552, allocations: 1.311 MB / 0.9517 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001897/0.4554, allocations: 35.97 kB / 0.9517 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0288/0.4842, allocations: 24.17 MB / 0.9753 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.4842, allocations: 4.094 kB / 0.9753 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01225/0.4964, allocations: 4.175 MB / 0.9794 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001316/0.4978, allocations: 390.7 kB / 0.9798 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004361/0.4982, allocations: 27.98 kB / 0.9798 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002439/0.5006, allocations: 303.5 kB / 0.9801 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004912/0.5011, allocations: 136.6 kB / 0.9802 GB, free: 12 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001659/0.5013, allocations: 47.97 kB / 0.9803 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00137/0.5027, allocations: 0.7565 MB / 0.981 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5027, allocations: 3.938 kB / 0.981 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0024/0.5051, allocations: 0.5664 MB / 0.9816 GB, free: 10.62 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003769/0.5054, allocations: 144.4 kB / 0.9817 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01254/0.518, allocations: 4.959 MB / 0.9865 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.518, allocations: 0 / 0.9865 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.008143/0.5261, allocations: 3.421 MB / 0.9899 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003704/0.5298, allocations: 0.5567 MB / 0.9904 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/0.5411, allocations: 4.053 MB / 0.9944 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001974/0.543, allocations: 1.485 MB / 0.9958 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001883/0.5449, allocations: 421.6 kB / 0.9962 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005053/0.5454, allocations: 115.4 kB / 0.9963 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of SimCode: time 2.184e-06/0.5454, allocations: 0 / 0.9963 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of Templates: time 0.457/1.002, allocations: 40.76 MB / 1.036 GB, free: 159.7 MB / 0.7481 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.805719249881804] Failed to read output from testmodel.py, exit status != 0: 1.0107163367792964 1.019730429 0.79217639 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f4366a757b0>