Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.001548/0.001548, allocations: 110.1 kB / 19.58 MB, free: 2.336 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.001651/0.001651, allocations: 188.5 kB / 22.85 MB, free: 5.641 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.488/1.488, allocations: 225.6 MB / 251.6 MB, free: 13.04 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.002642/0.002642, allocations: 286.4 kB / 307 MB, free: 8.355 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.257/1.257, allocations: 180.8 MB / 0.5304 GB, free: 14.52 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.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002811/0.002811, allocations: 96.7 kB / 0.7311 GB, free: 38.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1745, allocations: 94.2 MB / 0.8231 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02658/0.2011, allocations: 21.05 MB / 0.8436 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01223/0.2133, allocations: 6.652 MB / 0.8501 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001903/0.2152, allocations: 115.1 kB / 0.8502 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.006404/0.2216, allocations: 2.342 MB / 0.8525 GB, free: 3.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003779/0.2254, allocations: 1.232 MB / 0.8537 GB, free: 2.441 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003991/0.2294, allocations: 1.34 MB / 0.855 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006775/0.2362, allocations: 4.854 MB / 0.8598 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005549/0.2417, allocations: 2.957 MB / 0.8627 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003533/0.2452, allocations: 2.142 MB / 0.8648 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004996/0.2502, allocations: 2.469 MB / 0.8672 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001241/0.2515, allocations: 432 kB / 0.8676 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002829/0.2543, allocations: 0.9479 MB / 0.8685 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002565/0.2569, allocations: 1.715 MB / 0.8702 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002744/0.2596, allocations: 1.91 MB / 0.872 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.007689/0.2673, allocations: 6.541 MB / 0.8784 GB, free: 9.012 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.2673, allocations: 0 / 0.8784 GB, free: 9.012 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.675e-06/0.2673, allocations: 0 / 0.8784 GB, free: 9.012 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001786/0.2675, allocations: 0 / 0.8784 GB, free: 9.012 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.007469/0.275, allocations: 3.458 MB / 0.8818 GB, free: 5.504 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.275, allocations: 8.625 kB / 0.8818 GB, free: 5.496 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00344/0.2784, allocations: 0.6585 MB / 0.8825 GB, free: 4.836 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004303/0.2827, allocations: 1.99 MB / 0.8844 GB, free: 2.793 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001872/0.2829, allocations: 222.3 kB / 0.8846 GB, free: 2.574 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005701/0.2835, allocations: 296.3 kB / 0.8849 GB, free: 2.285 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008952/0.2925, allocations: 4.886 MB / 0.8897 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.206e-05/0.2925, allocations: 11.94 kB / 0.8897 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003087/0.2928, allocations: 128 kB / 0.8898 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004379/0.2933, allocations: 237.7 kB / 0.89 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00682/0.3001, allocations: 3.746 MB / 0.8937 GB, free: 9.074 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02428/0.3244, allocations: 21.15 MB / 0.9144 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001809/0.3262, allocations: 1.24 MB / 0.9156 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00145/0.3276, allocations: 0.9802 MB / 0.9165 GB, free: 15.68 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 7.103e-05/0.3277, allocations: 13 kB / 0.9165 GB, free: 15.67 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.289e-05/0.3277, allocations: 43.56 kB / 0.9166 GB, free: 15.62 MB / 0.67 GB Notification: Performance of pre-optimization done (n=107): time 2.595e-06/0.3277, allocations: 0 / 0.9166 GB, free: 15.62 MB / 0.67 GB Notification: Performance of matching and sorting (n=138): time 0.02376/0.3515, allocations: 8.443 MB / 0.9248 GB, free: 7.176 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.541e-05/0.3516, allocations: 68.72 kB / 0.9249 GB, free: 7.098 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001648/0.3532, allocations: 1.13 MB / 0.926 GB, free: 5.961 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001153/0.3533, allocations: 53.7 kB / 0.926 GB, free: 5.902 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001044/0.3544, allocations: 1.331 MB / 0.9273 GB, free: 4.559 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005253/0.3549, allocations: 0.4996 MB / 0.9278 GB, free: 4.055 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005389/0.3554, allocations: 291.5 kB / 0.9281 GB, free: 3.766 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.3556, allocations: 309 kB / 0.9284 GB, free: 3.461 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001353/0.3569, allocations: 0.9096 MB / 0.9293 GB, free: 2.551 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001793/0.3587, allocations: 1.326 MB / 0.9306 GB, free: 1.059 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003285/0.362, allocations: 2.422 MB / 0.9329 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.487e-06/0.362, allocations: 4 kB / 0.933 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006255/0.3683, allocations: 3.437 MB / 0.9363 GB, free: 11 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/0.3683, allocations: 8 kB / 0.9363 GB, free: 11 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.932e-05/0.3683, allocations: 12 kB / 0.9363 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003345/0.3717, allocations: 1.185 MB / 0.9375 GB, free: 9.793 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009936/0.3727, allocations: 259.5 kB / 0.9377 GB, free: 9.539 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01911/0.3918, allocations: 13.54 MB / 0.951 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.3931, allocations: 87.97 kB / 0.951 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/0.3932, allocations: 64 kB / 0.9511 GB, free: 11.51 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * 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 {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001728/0.3949, allocations: 1.118 MB / 0.9522 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003077/0.3952, allocations: 167 kB / 0.9524 GB, free: 10.22 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006098/0.4013, allocations: 3.134 MB / 0.9554 GB, free: 7.059 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.962e-05/0.4013, allocations: 16 kB / 0.9554 GB, free: 7.043 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.91e-05/0.4014, allocations: 15.94 kB / 0.9554 GB, free: 7.027 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/0.4014, allocations: 7.969 kB / 0.9555 GB, free: 7.02 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01099/0.4124, allocations: 6.178 MB / 0.9615 GB, free: 0.707 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.868e-06/0.4124, allocations: 4 kB / 0.9615 GB, free: 0.7031 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005924/0.413, allocations: 155.7 kB / 0.9616 GB, free: 0.5508 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003051/0.416, allocations: 1.063 MB / 0.9627 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.555e-05/0.4161, allocations: 35.98 kB / 0.9627 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01801/0.4341, allocations: 13.24 MB / 0.9756 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.695e-06/0.4341, allocations: 7.938 kB / 0.9756 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005561/0.4397, allocations: 3.128 MB / 0.9787 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009059/0.4406, allocations: 354.8 kB / 0.979 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001731/0.4408, allocations: 39.88 kB / 0.9791 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007523/0.4415, allocations: 79.89 kB / 0.9792 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003315/0.4418, allocations: 140.6 kB / 0.9793 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.839e-05/0.4419, allocations: 40.38 kB / 0.9793 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001046/0.443, allocations: 0.7632 MB / 0.9801 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.443, allocations: 0 / 0.9801 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001822/0.4448, allocations: 0.6602 MB / 0.9807 GB, free: 12.59 MB / 0.7325 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 (70): * Single equations (assignments): 67 * 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 {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002268/0.445, allocations: 139.1 kB / 0.9808 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004824/0.4499, allocations: 3.009 MB / 0.9838 GB, free: 9.383 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.4499, allocations: 0.75 kB / 0.9838 GB, free: 9.383 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003243/0.4531, allocations: 1.88 MB / 0.9856 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00184/0.4549, allocations: 0.5021 MB / 0.9861 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008817/0.4638, allocations: 5.521 MB / 0.9915 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002608/0.4664, allocations: 2.344 MB / 0.9938 GB, free: 15 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0009398/0.4673, allocations: 354.1 kB / 0.9941 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002237/0.4675, allocations: 87.44 kB / 0.9942 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of SimCode: time 7.51e-07/0.4675, allocations: 3.938 kB / 0.9942 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of Templates: time 0.4293/0.8968, allocations: 34.8 MB / 1.028 GB, free: 163.3 MB / 0.7481 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.59100730298087] Failed to read output from testmodel.py, exit status != 0: 0.9043929730542004 0.915479052 0.645756638 Calling exit ...