Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.002115/0.002115, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002646/0.002646, allocations: 162.4 kB / 23.02 MB, free: 4.949 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.445/1.445, allocations: 177.2 MB / 203.4 MB, free: 8.949 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.004237/0.004237, allocations: 240 kB / 260 MB, free: 424 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 0.9283/0.9283, allocations: 138.5 MB / 455 MB, free: 15.09 MB / 430.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.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003279/0.003279, allocations: 103.8 kB / 0.6474 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3981/0.4013, allocations: 95.34 MB / 0.7405 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.006918/0.4082, allocations: 5.976 MB / 0.7463 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004557/0.4128, allocations: 3.158 MB / 0.7494 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004292/0.4132, allocations: 45.41 kB / 0.7494 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002316/0.4156, allocations: 0.9355 MB / 0.7503 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00102/0.4166, allocations: 496.8 kB / 0.7508 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.4178, allocations: 0.4914 MB / 0.7513 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001077/0.4188, allocations: 1.106 MB / 0.7524 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006845/0.4195, allocations: 0.5069 MB / 0.7529 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005493/0.4201, allocations: 462.8 kB / 0.7533 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005915/0.4207, allocations: 474.5 kB / 0.7538 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.247e-05/0.4207, allocations: 58.19 kB / 0.7538 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007691/0.4215, allocations: 438 kB / 0.7542 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002722/0.4218, allocations: 298.2 kB / 0.7545 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003162/0.4221, allocations: 329 kB / 0.7548 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.4233, allocations: 1.202 MB / 0.756 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4233, allocations: 5.25 kB / 0.756 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4233, allocations: 0 / 0.756 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.148e-05/0.4233, allocations: 0 / 0.756 GB, free: 8.355 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.00134/0.4246, allocations: 0.9986 MB / 0.757 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.4247, allocations: 10.5 kB / 0.757 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001491/0.4261, allocations: 238.4 kB / 0.7572 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008418/0.427, allocations: 0.5218 MB / 0.7577 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.743e-05/0.427, allocations: 46.8 kB / 0.7578 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-05/0.4271, allocations: 69.59 kB / 0.7578 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.4283, allocations: 1.132 MB / 0.7589 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.023e-05/0.4284, allocations: 11.73 kB / 0.759 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.195e-05/0.4284, allocations: 28.48 kB / 0.759 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.287e-05/0.4285, allocations: 74.45 kB / 0.7591 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009159/0.4294, allocations: 0.6893 MB / 0.7597 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003364/0.4328, allocations: 4.4 MB / 0.764 GB, free: 1.914 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007003/0.4335, allocations: 416.1 kB / 0.7644 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007506/0.4342, allocations: 388.4 kB / 0.7648 GB, free: 1.516 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.991e-05/0.4343, allocations: 8.484 kB / 0.7648 GB, free: 1.512 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.632e-05/0.4343, allocations: 40.72 kB / 0.7648 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=41): time 1.843e-06/0.4343, allocations: 0 / 0.7648 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42): time 0.003766/0.438, allocations: 1.701 MB / 0.7665 GB, free: 0.5312 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.4381, allocations: 59.97 kB / 0.7666 GB, free: 476 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003464/0.4384, allocations: 440 kB / 0.767 GB, free: 192 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.4385, allocations: 34.77 kB / 0.767 GB, free: 152 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002388/0.4387, allocations: 396.2 kB / 0.7674 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/0.4388, allocations: 161.6 kB / 0.7675 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001677/0.439, allocations: 113.7 kB / 0.7677 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.4392, allocations: 362.8 kB / 0.768 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003544/0.4395, allocations: 238.8 kB / 0.7682 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005241/0.4401, allocations: 456.3 kB / 0.7687 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009627/0.441, allocations: 0.7523 MB / 0.7694 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.441, allocations: 1.219 kB / 0.7694 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001866/0.4429, allocations: 1.033 MB / 0.7704 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.4429, allocations: 7.938 kB / 0.7704 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.4429, allocations: 6.281 kB / 0.7704 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/0.4439, allocations: 321 kB / 0.7707 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003129/0.4442, allocations: 100.1 kB / 0.7708 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007289/0.4515, allocations: 6.932 MB / 0.7776 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004563/0.452, allocations: 26.02 kB / 0.7776 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.897e-05/0.452, allocations: 33.53 kB / 0.7776 GB, free: 7.23 MB / 0.6075 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003847/0.4524, allocations: 246 kB / 0.7779 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.444e-05/0.4525, allocations: 63.5 kB / 0.7779 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001706/0.4542, allocations: 0.8652 MB / 0.7788 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.4542, allocations: 7.672 kB / 0.7788 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.4542, allocations: 8.094 kB / 0.7788 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.4542, allocations: 5.156 kB / 0.7788 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002518/0.4568, allocations: 1.49 MB / 0.7803 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.4568, allocations: 1.156 kB / 0.7803 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.4569, allocations: 45.41 kB / 0.7803 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009386/0.4579, allocations: 315.9 kB / 0.7806 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.047e-05/0.4579, allocations: 6.906 kB / 0.7806 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007198/0.4651, allocations: 6.933 MB / 0.7874 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.4651, allocations: 1.125 kB / 0.7874 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001732/0.4668, allocations: 0.9781 MB / 0.7883 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002506/0.4671, allocations: 103.3 kB / 0.7884 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.27e-05/0.4671, allocations: 12.53 kB / 0.7885 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002891/0.4674, allocations: 25.03 kB / 0.7885 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.4675, allocations: 43.45 kB / 0.7885 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.028e-05/0.4676, allocations: 12.12 kB / 0.7885 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003185/0.4679, allocations: 288.3 kB / 0.7888 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4679, allocations: 0 / 0.7888 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008252/0.4687, allocations: 197.3 kB / 0.789 GB, free: 14.2 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001486/0.4689, allocations: 112.2 kB / 0.7891 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001836/0.4707, allocations: 1.149 MB / 0.7902 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4707, allocations: 1.781 kB / 0.7902 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001241/0.4719, allocations: 0.8393 MB / 0.791 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009634/0.4729, allocations: 198 kB / 0.7912 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/0.4749, allocations: 1.265 MB / 0.7925 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004584/0.4754, allocations: 397.9 kB / 0.7928 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002608/0.4756, allocations: 97 kB / 0.7929 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.904e-05/0.4757, allocations: 32.5 kB / 0.793 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of SimCode: time 3.6e-07/0.4757, allocations: 0 / 0.793 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of Templates: time 0.01878/0.4945, allocations: 10.34 MB / 0.8031 GB, free: 1.238 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.219668710022233] Failed to read output from testmodel.py, exit status != 0: 0.5030648190295324 0.516806956 0.09049531000000001 Calling exit ...