Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.001252/0.001252, allocations: 84.81 kB / 19.94 MB, free: 4.539 MB / 18.57 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.001583/0.001583, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 18.57 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 0.932/0.932, allocations: 177.2 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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.001791/0.001791, allocations: 243.3 kB / 260.5 MB, free: 12.7 MB / 250.7 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 0.7401/0.7401, allocations: 138.4 MB / 402.2 MB, free: 60 kB / 362.7 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_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 462.3 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.193e-05/1.335e-05, allocations: 3.984 kB / 462.3 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.01822/0.01823, allocations: 13.68 MB / 476 MB, free: 4.797 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.006609/0.02484, allocations: 4.242 MB / 480.2 MB, free: 0.5703 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001061/0.0259, allocations: 127.1 kB / 480.4 MB, free: 456 kB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009806/0.02688, allocations: 0.5741 MB / 480.9 MB, free: 15.86 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002002/0.02888, allocations: 1.725 MB / 482.7 MB, free: 14.15 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001672/0.03055, allocations: 1.221 MB / 483.9 MB, free: 12.93 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.00486/0.03541, allocations: 6.914 MB / 490.8 MB, free: 6.008 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003395/0.03881, allocations: 3.886 MB / 494.7 MB, free: 2.016 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003419/0.04223, allocations: 4.001 MB / 498.7 MB, free: 14 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002922/0.04515, allocations: 3.41 MB / 0.4903 GB, free: 10.61 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000527/0.04568, allocations: 0.5234 MB / 0.4908 GB, free: 10.09 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008257/0.0465, allocations: 0.6754 MB / 0.4915 GB, free: 9.414 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001606/0.04811, allocations: 2.689 MB / 0.4941 GB, free: 6.719 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001422/0.04953, allocations: 1.763 MB / 0.4959 GB, free: 4.953 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003148/0.05268, allocations: 4.601 MB / 0.5003 GB, free: 348 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.05268, allocations: 0 / 0.5003 GB, free: 348 kB / 458.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.05268, allocations: 5.156 kB / 0.5004 GB, free: 344 kB / 458.7 MB Notification: Performance of Transformations before backend: time 7.987e-05/0.05276, allocations: 0 / 0.5004 GB, free: 344 kB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.003778/0.05654, allocations: 4.162 MB / 0.5044 GB, free: 12.14 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.926e-05/0.05657, allocations: 12.75 kB / 0.5044 GB, free: 12.12 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003336/0.05991, allocations: 1.417 MB / 0.5058 GB, free: 10.71 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002017/0.06192, allocations: 2.017 MB / 0.5078 GB, free: 8.66 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/0.06206, allocations: 277.2 kB / 0.508 GB, free: 8.391 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003936/0.06245, allocations: 368.2 kB / 0.5084 GB, free: 8.031 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003214/0.06567, allocations: 3.707 MB / 0.512 GB, free: 4.004 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.505e-05/0.06572, allocations: 16.06 kB / 0.512 GB, free: 3.988 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000262/0.06598, allocations: 158.1 kB / 0.5122 GB, free: 3.836 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003481/0.06633, allocations: 487.3 kB / 0.5127 GB, free: 3.359 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001782/0.06812, allocations: 1.391 MB / 0.514 GB, free: 1.973 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01076/0.07888, allocations: 15.22 MB / 0.5289 GB, free: 2.379 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000674/0.07955, allocations: 0.647 MB / 0.5295 GB, free: 1.746 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006808/0.08023, allocations: 0.6358 MB / 0.5301 GB, free: 1.129 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.76e-05/0.08033, allocations: 25.31 kB / 0.5301 GB, free: 1.105 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.08036, allocations: 56.53 kB / 0.5302 GB, free: 1.039 MB / 490.7 MB Notification: Performance of pre-optimization done (n=146): time 3.086e-06/0.08036, allocations: 1.219 kB / 0.5302 GB, free: 1.039 MB / 490.7 MB Notification: Performance of matching and sorting (n=149): time 0.01776/0.09812, allocations: 9.6 MB / 0.5396 GB, free: 7.465 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.09815, allocations: 72.72 kB / 0.5396 GB, free: 7.383 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007536/0.09891, allocations: 1.255 MB / 0.5409 GB, free: 6.129 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.646e-05/0.099, allocations: 49.7 kB / 0.5409 GB, free: 6.074 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005632/0.09957, allocations: 1.558 MB / 0.5424 GB, free: 4.496 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002913/0.09986, allocations: 0.5343 MB / 0.543 GB, free: 3.957 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003588/0.1002, allocations: 311.3 kB / 0.5433 GB, free: 3.648 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.313e-05/0.1003, allocations: 301.1 kB / 0.5435 GB, free: 3.352 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000426/0.1007, allocations: 294.8 kB / 0.5438 GB, free: 3.062 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006218/0.1013, allocations: 0.8149 MB / 0.5446 GB, free: 2.012 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/0.1025, allocations: 1.337 MB / 0.5459 GB, free: 440 kB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.1025, allocations: 11.94 kB / 0.5459 GB, free: 428 kB / 0.4948 GB Notification: Performance of matching and sorting (n=229) (initialization): time 0.005776/0.1083, allocations: 3.473 MB / 0.5493 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.1083, allocations: 12 kB / 0.5493 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.1083, allocations: 16 kB / 0.5494 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006381/0.1147, allocations: 2.76 MB / 0.5521 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004968/0.1152, allocations: 259.5 kB / 0.5523 GB, free: 9.875 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01209/0.1273, allocations: 9.706 MB / 0.5618 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006534/0.128, allocations: 48 kB / 0.5618 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.707e-05/0.1281, allocations: 67.94 kB / 0.5619 GB, free: 15.76 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (142): * Single equations (assignments): 139 * 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 {(19,19,59.8%), (12,18,50.0%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006757/0.1287, allocations: 220.2 kB / 0.5621 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000228/0.129, allocations: 181.4 kB / 0.5623 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00567/0.1346, allocations: 3.411 MB / 0.5656 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.1346, allocations: 12 kB / 0.5656 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.939e-05/0.1347, allocations: 24 kB / 0.5656 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.1347, allocations: 15.09 kB / 0.5657 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007828/0.1425, allocations: 4.996 MB / 0.5705 GB, free: 6.785 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.1425, allocations: 4.469 kB / 0.5705 GB, free: 6.781 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002719/0.1428, allocations: 111.8 kB / 0.5706 GB, free: 6.672 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006189/0.149, allocations: 2.696 MB / 0.5733 GB, free: 3.961 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.289e-05/0.149, allocations: 28 kB / 0.5733 GB, free: 3.934 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01169/0.1607, allocations: 9.696 MB / 0.5828 GB, free: 9.941 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.1607, allocations: 4 kB / 0.5828 GB, free: 9.938 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005507/0.1662, allocations: 3.365 MB / 0.5861 GB, free: 6.484 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004948/0.1667, allocations: 362.4 kB / 0.5864 GB, free: 6.129 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001668/0.1669, allocations: 32 kB / 0.5864 GB, free: 6.098 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004498/0.1674, allocations: 28 kB / 0.5865 GB, free: 6.07 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002909/0.1677, allocations: 136.9 kB / 0.5866 GB, free: 5.934 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.473e-05/0.1677, allocations: 39.98 kB / 0.5866 GB, free: 5.895 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004185/0.1681, allocations: 0.6208 MB / 0.5872 GB, free: 5.281 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1681, allocations: 0 / 0.5872 GB, free: 5.281 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001826/0.17, allocations: 1.078 MB / 0.5883 GB, free: 4.203 MB / 0.5417 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 (65): * 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: 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 {(12,10,52.8%), (12,18,50.0%), (19,19,57.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001881/0.1702, allocations: 122.2 kB / 0.5884 GB, free: 4.078 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003977/0.1741, allocations: 2.951 MB / 0.5913 GB, free: 1.102 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.517e-05/0.1742, allocations: 26 kB / 0.5913 GB, free: 1.078 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003127/0.1773, allocations: 2.373 MB / 0.5936 GB, free: 14.66 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.1784, allocations: 0.5024 MB / 0.5941 GB, free: 14.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006067/0.1844, allocations: 6.41 MB / 0.6004 GB, free: 7.727 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007827/0.1852, allocations: 1.081 MB / 0.6014 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003426/0.1856, allocations: 188.3 kB / 0.6016 GB, free: 6.453 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005359/0.1861, allocations: 399.1 kB / 0.602 GB, free: 6.059 MB / 0.5573 GB Notification: Performance of SimCode: time 9.22e-07/0.1861, allocations: 3.938 kB / 0.602 GB, free: 6.055 MB / 0.5573 GB Notification: Performance of Templates: time 0.05594/0.242, allocations: 58.63 MB / 0.6593 GB, free: 12.07 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.516189928166568]