Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.001491/0.001491, allocations: 110 kB / 18.93 MB, free: 2.945 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.00161/0.00161, allocations: 188.8 kB / 22.23 MB, free: 5.16 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.381/1.381, allocations: 225.6 MB / 251 MB, free: 13.01 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.002658/0.002658, allocations: 285.2 kB / 306.6 MB, free: 8.328 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.238/1.238, allocations: 180.9 MB / 0.53 GB, free: 14.46 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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002806/0.002806, allocations: 100.9 kB / 0.7309 GB, free: 38.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1501, allocations: 94.2 MB / 0.8228 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01428/0.1644, allocations: 10.44 MB / 0.833 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006108/0.1705, allocations: 3.131 MB / 0.8361 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007847/0.1713, allocations: 43.69 kB / 0.8361 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002203/0.1735, allocations: 0.7192 MB / 0.8368 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001776/0.1752, allocations: 0.7234 MB / 0.8375 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001576/0.1768, allocations: 0.658 MB / 0.8382 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003495/0.1803, allocations: 2.738 MB / 0.8409 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002098/0.1824, allocations: 1.267 MB / 0.8421 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001832/0.1842, allocations: 1.153 MB / 0.8432 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002394/0.1866, allocations: 1.492 MB / 0.8447 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005916/0.1872, allocations: 220 kB / 0.8449 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001227/0.1885, allocations: 495.3 kB / 0.8454 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001362/0.1898, allocations: 1.005 MB / 0.8463 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001621/0.1914, allocations: 1.015 MB / 0.8473 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003899/0.1953, allocations: 3.419 MB / 0.8507 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.1953, allocations: 3.984 kB / 0.8507 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1953, allocations: 0 / 0.8507 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.316e-05/0.1954, allocations: 0 / 0.8507 GB, free: 5.172 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.003747/0.1991, allocations: 1.913 MB / 0.8526 GB, free: 3.219 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.1992, allocations: 12.62 kB / 0.8526 GB, free: 3.207 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006155/0.2053, allocations: 0.897 MB / 0.8534 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002635/0.208, allocations: 1.117 MB / 0.8545 GB, free: 1.164 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.962e-05/0.2081, allocations: 115.3 kB / 0.8546 GB, free: 1.051 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003262/0.2084, allocations: 140.3 kB / 0.8548 GB, free: 0.9141 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005283/0.2137, allocations: 3.021 MB / 0.8577 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.461e-05/0.2137, allocations: 7.953 kB / 0.8577 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002/0.2139, allocations: 63.97 kB / 0.8578 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002443/0.2142, allocations: 179 kB / 0.858 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004488/0.2187, allocations: 2.608 MB / 0.8605 GB, free: 10.93 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01792/0.2366, allocations: 13.39 MB / 0.8736 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002046/0.2386, allocations: 1.222 MB / 0.8748 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001469/0.2401, allocations: 0.9812 MB / 0.8757 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.757e-05/0.2402, allocations: 12.66 kB / 0.8757 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.2402, allocations: 39.22 kB / 0.8758 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=82): time 2.445e-06/0.2402, allocations: 3.938 kB / 0.8758 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of matching and sorting (n=139): time 0.07733/0.3175, allocations: 18.89 MB / 0.8942 GB, free: 7.246 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.3176, allocations: 68.72 kB / 0.8943 GB, free: 7.164 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.3188, allocations: 0.9222 MB / 0.8952 GB, free: 6.234 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001219/0.3189, allocations: 53.7 kB / 0.8953 GB, free: 6.176 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005703/0.3195, allocations: 0.7501 MB / 0.896 GB, free: 5.414 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004835/0.32, allocations: 0.4957 MB / 0.8965 GB, free: 4.914 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005983/0.3206, allocations: 299.5 kB / 0.8968 GB, free: 4.613 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001841/0.3208, allocations: 357.9 kB / 0.8971 GB, free: 4.258 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001987/0.3228, allocations: 1.331 MB / 0.8984 GB, free: 2.926 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002288/0.325, allocations: 1.66 MB / 0.9 GB, free: 1.152 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004368/0.3294, allocations: 3.092 MB / 0.903 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.3294, allocations: 3.938 kB / 0.903 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01248/0.3419, allocations: 5.559 MB / 0.9085 GB, free: 8.352 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.3419, allocations: 12 kB / 0.9085 GB, free: 8.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.771e-05/0.3419, allocations: 11.94 kB / 0.9085 GB, free: 8.328 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00938/0.3513, allocations: 2.717 MB / 0.9111 GB, free: 5.602 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008016/0.3521, allocations: 195.7 kB / 0.9113 GB, free: 5.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03961/0.3917, allocations: 25.33 MB / 0.9361 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/0.3932, allocations: 95.95 kB / 0.9362 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001456/0.3934, allocations: 56 kB / 0.9362 GB, free: 11.48 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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): 95 * 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 {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001186/0.3945, allocations: 0.7354 MB / 0.9369 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000264/0.3948, allocations: 119.2 kB / 0.937 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01225/0.4071, allocations: 5.31 MB / 0.9422 GB, free: 5.273 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/0.4071, allocations: 12 kB / 0.9422 GB, free: 5.262 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-05/0.4071, allocations: 20 kB / 0.9423 GB, free: 5.242 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.756e-05/0.4071, allocations: 7.969 kB / 0.9423 GB, free: 5.234 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0171/0.4242, allocations: 8.607 MB / 0.9507 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/0.4242, allocations: 8.031 kB / 0.9507 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004654/0.4247, allocations: 119.8 kB / 0.9508 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009106/0.4338, allocations: 2.589 MB / 0.9533 GB, free: 9.777 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000137/0.4339, allocations: 28 kB / 0.9533 GB, free: 9.75 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03801/0.4719, allocations: 23.78 MB / 0.9766 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.4719, allocations: 4 kB / 0.9766 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01181/0.4838, allocations: 5.179 MB / 0.9816 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/0.4848, allocations: 423.5 kB / 0.982 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002223/0.485, allocations: 31.89 kB / 0.9821 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009555/0.4859, allocations: 83.89 kB / 0.9821 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004946/0.4864, allocations: 133 kB / 0.9823 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001194/0.4866, allocations: 36 kB / 0.9823 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009044/0.4875, allocations: 0.6434 MB / 0.9829 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4875, allocations: 0 / 0.9829 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00225/0.4897, allocations: 0.7227 MB / 0.9836 GB, free: 10.2 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * 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 {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002591/0.49, allocations: 135.7 kB / 0.9838 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.007468/0.4974, allocations: 4.074 MB / 0.9877 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.4974, allocations: 0 / 0.9877 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005489/0.5029, allocations: 2.627 MB / 0.9903 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/0.5042, allocations: 215.6 kB / 0.9905 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006405/0.5106, allocations: 4.074 MB / 0.9945 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001615/0.5122, allocations: 1.704 MB / 0.9962 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0006852/0.5129, allocations: 325.4 kB / 0.9965 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001738/0.5131, allocations: 55.44 kB / 0.9965 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of SimCode: time 7.31e-07/0.5131, allocations: 0 / 0.9965 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of Templates: time 0.3995/0.9126, allocations: 42 MB / 1.038 GB, free: 162.8 MB / 0.7481 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.24100281111896] Failed to read output from testmodel.py, exit status != 0: 0.9197398955002427 0.929206675 0.731666619 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fe2163417b0>