Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.001319/0.001319, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001478/0.001478, allocations: 165.5 kB / 22.46 MB, free: 5.359 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.456/1.456, 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.002464/0.002464, allocations: 240 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.056/1.056, 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.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.6468 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.917e-05/2.043e-05, allocations: 6.219 kB / 0.6468 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.2559/0.256, allocations: 9.472 MB / 0.6561 GB, free: 53.29 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003913/0.2599, allocations: 3.131 MB / 0.6591 GB, free: 51.57 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003402/0.2602, allocations: 48.94 kB / 0.6592 GB, free: 51.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00133/0.2615, allocations: 0.5963 MB / 0.6597 GB, free: 51.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001031/0.2626, allocations: 0.7963 MB / 0.6605 GB, free: 50.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.2637, allocations: 0.7536 MB / 0.6613 GB, free: 50.39 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001973/0.2657, allocations: 3.045 MB / 0.6642 GB, free: 49.07 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001357/0.267, allocations: 1.416 MB / 0.6656 GB, free: 48.38 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001454/0.2685, allocations: 1.738 MB / 0.6673 GB, free: 47.59 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00154/0.27, allocations: 1.564 MB / 0.6688 GB, free: 47.11 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002817/0.2703, allocations: 236.4 kB / 0.6691 GB, free: 47.11 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007549/0.2711, allocations: 490.7 kB / 0.6695 GB, free: 47.02 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000849/0.2719, allocations: 1.151 MB / 0.6707 GB, free: 46.52 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008109/0.2727, allocations: 0.7818 MB / 0.6714 GB, free: 46.16 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003344/0.2761, allocations: 3.795 MB / 0.6751 GB, free: 45.02 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2761, allocations: 0 / 0.6751 GB, free: 45.02 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2761, allocations: 0 / 0.6751 GB, free: 45.02 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.992e-05/0.2761, allocations: 0 / 0.6751 GB, free: 45.02 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.003682/0.2798, allocations: 2.103 MB / 0.6772 GB, free: 43.77 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.2798, allocations: 9.875 kB / 0.6772 GB, free: 43.77 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009627/0.2895, allocations: 1.351 MB / 0.6785 GB, free: 43.6 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002201/0.2917, allocations: 1.268 MB / 0.6797 GB, free: 42.94 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.915e-05/0.2917, allocations: 116.1 kB / 0.6799 GB, free: 42.88 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003156/0.2921, allocations: 145.5 kB / 0.68 GB, free: 42.84 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005289/0.2974, allocations: 3.511 MB / 0.6834 GB, free: 41.45 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.126e-05/0.2974, allocations: 9.5 kB / 0.6834 GB, free: 41.45 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002332/0.2976, allocations: 67.03 kB / 0.6835 GB, free: 41.39 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002617/0.2979, allocations: 214.4 kB / 0.6837 GB, free: 41.36 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004762/0.3026, allocations: 3.116 MB / 0.6867 GB, free: 40.36 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01399/0.3166, allocations: 9.822 MB / 0.6963 GB, free: 35.1 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002162/0.3188, allocations: 1.611 MB / 0.6979 GB, free: 34.36 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001676/0.3205, allocations: 1.336 MB / 0.6992 GB, free: 33.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.715e-05/0.3206, allocations: 11.31 kB / 0.6992 GB, free: 33.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.3206, allocations: 44.56 kB / 0.6993 GB, free: 33.66 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=104): time 2.805e-06/0.3206, allocations: 0 / 0.6993 GB, free: 33.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=183): time 0.1498/0.4704, allocations: 36.19 MB / 0.7346 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.4704, allocations: 73.34 kB / 0.7347 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.4716, allocations: 1.048 MB / 0.7357 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002892/0.4718, allocations: 53.7 kB / 0.7358 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002934/0.4721, allocations: 0.8053 MB / 0.7365 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003787/0.4725, allocations: 0.6351 MB / 0.7372 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000673/0.4732, allocations: 363.5 kB / 0.7375 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.275e-05/0.4732, allocations: 305.1 kB / 0.7378 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002073/0.4753, allocations: 1.928 MB / 0.7397 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002415/0.4777, allocations: 2.289 MB / 0.7419 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006698/0.4844, allocations: 4.391 MB / 0.7462 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.4844, allocations: 4 kB / 0.7462 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02231/0.5067, allocations: 8.869 MB / 0.7549 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.974e-05/0.5068, allocations: 12 kB / 0.7549 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/0.5068, allocations: 8 kB / 0.7549 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0188/0.5256, allocations: 4.967 MB / 0.7597 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009737/0.5266, allocations: 191.7 kB / 0.7599 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06345/0.59, allocations: 37.82 MB / 0.7968 GB, free: 6.641 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002219/0.5922, allocations: 103.9 kB / 0.7969 GB, free: 6.539 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002276/0.5925, allocations: 64 kB / 0.797 GB, free: 6.477 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001506/0.594, allocations: 0.8056 MB / 0.7978 GB, free: 5.66 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003361/0.5943, allocations: 143.1 kB / 0.7979 GB, free: 5.52 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02227/0.6166, allocations: 8.748 MB / 0.8065 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.268e-05/0.6166, allocations: 20 kB / 0.8065 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.501e-05/0.6166, allocations: 28 kB / 0.8065 GB, free: 12.69 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.934e-05/0.6167, allocations: 11.95 kB / 0.8065 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02892/0.6456, allocations: 12.39 MB / 0.8186 GB, free: 180 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/0.6456, allocations: 4 kB / 0.8186 GB, free: 176 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005468/0.6461, allocations: 119.8 kB / 0.8188 GB, free: 56 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01894/0.6651, allocations: 4.826 MB / 0.8235 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004171/0.6655, allocations: 39.98 kB / 0.8235 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05972/0.7252, allocations: 35.76 MB / 0.8584 GB, free: 6.992 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.7252, allocations: 4 kB / 0.8584 GB, free: 6.988 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02166/0.7469, allocations: 8.444 MB / 0.8667 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001636/0.7485, allocations: 0.5692 MB / 0.8672 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003431/0.7489, allocations: 36 kB / 0.8673 GB, free: 13.85 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001411/0.7503, allocations: 99.81 kB / 0.8674 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008761/0.7512, allocations: 165.6 kB / 0.8675 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001717/0.7513, allocations: 48 kB / 0.8676 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001034/0.7524, allocations: 0.7179 MB / 0.8683 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7524, allocations: 0 / 0.8683 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003174/0.7555, allocations: 1.004 MB / 0.8692 GB, free: 11.81 MB / 0.7012 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003342/0.7559, allocations: 147 kB / 0.8694 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01045/0.7663, allocations: 5.731 MB / 0.875 GB, free: 5.879 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.7663, allocations: 0 / 0.875 GB, free: 5.879 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.008409/0.7747, allocations: 3.777 MB / 0.8787 GB, free: 2.059 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001527/0.7763, allocations: 240.8 kB / 0.8789 GB, free: 1.836 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00824/0.7845, allocations: 5.166 MB / 0.8839 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001595/0.7861, allocations: 1.267 MB / 0.8852 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0007304/0.7868, allocations: 347.2 kB / 0.8855 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002008/0.787, allocations: 64.48 kB / 0.8856 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of SimCode: time 8.42e-07/0.787, allocations: 0 / 0.8856 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of Templates: time 0.3541/1.141, allocations: 63.91 MB / 0.948 GB, free: 241.6 MB / 0.7637 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.517625562846661] Failed to read output from testmodel.py, exit status != 0: 1.1491415053606033 1.158948543 0.880251798 Calling exit ...