Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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: 80.2 kB / 19.18 MB, free: 2.527 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.001439/0.001439, allocations: 174.5 kB / 22.46 MB, free: 5.355 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.44/1.44, allocations: 177.2 MB / 202.8 MB, free: 9.176 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.002521/0.002521, allocations: 248.5 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.071/1.071, allocations: 138.4 MB / 454.3 MB, free: 2.016 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.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.384e-06/2.384e-06, allocations: 0 / 0.6468 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.637e-05/2.875e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.2598/0.2598, allocations: 13.09 MB / 0.6596 GB, free: 50.73 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01071/0.2706, allocations: 9 MB / 0.6684 GB, free: 45.09 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00111/0.2717, allocations: 78.97 kB / 0.6684 GB, free: 45.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003921/0.2756, allocations: 1.674 MB / 0.6701 GB, free: 44.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003622/0.2792, allocations: 1.628 MB / 0.6717 GB, free: 43.13 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001704/0.2809, allocations: 0.769 MB / 0.6724 GB, free: 42.73 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002635/0.2836, allocations: 2.595 MB / 0.675 GB, free: 41.48 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001412/0.285, allocations: 1.189 MB / 0.6761 GB, free: 40.85 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001805/0.2868, allocations: 1.503 MB / 0.6776 GB, free: 40.25 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001472/0.2882, allocations: 0.9947 MB / 0.6786 GB, free: 39.95 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002376/0.2885, allocations: 167.9 kB / 0.6787 GB, free: 39.95 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001285/0.2898, allocations: 0.7395 MB / 0.6794 GB, free: 39.73 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005182/0.2903, allocations: 0.6541 MB / 0.6801 GB, free: 39.4 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008476/0.2911, allocations: 0.6451 MB / 0.6807 GB, free: 39.12 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003461/0.2946, allocations: 2.809 MB / 0.6834 GB, free: 38.2 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2946, allocations: 0 / 0.6834 GB, free: 38.2 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2946, allocations: 0 / 0.6834 GB, free: 38.2 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.225e-05/0.2947, allocations: 1.25 kB / 0.6834 GB, free: 38.2 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004411/0.2991, allocations: 2.094 MB / 0.6855 GB, free: 36.92 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.2991, allocations: 11.34 kB / 0.6855 GB, free: 36.92 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01294/0.312, allocations: 2.103 MB / 0.6876 GB, free: 36.78 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00315/0.3152, allocations: 1.221 MB / 0.6887 GB, free: 36.1 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.768e-05/0.3153, allocations: 90.06 kB / 0.6888 GB, free: 36.05 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003351/0.3156, allocations: 117.7 kB / 0.6889 GB, free: 36.02 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006391/0.322, allocations: 3.081 MB / 0.692 GB, free: 34.45 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.708e-05/0.322, allocations: 12.58 kB / 0.692 GB, free: 34.44 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001947/0.3222, allocations: 58.36 kB / 0.692 GB, free: 34.4 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006773/0.3229, allocations: 181.6 kB / 0.6922 GB, free: 34.38 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008356/0.3313, allocations: 2.79 MB / 0.6949 GB, free: 33.66 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01221/0.3435, allocations: 8.124 MB / 0.7029 GB, free: 28.02 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006882/0.3504, allocations: 2.221 MB / 0.705 GB, free: 26.89 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003064/0.3534, allocations: 1.212 MB / 0.7062 GB, free: 26.27 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.019e-05/0.3535, allocations: 9.469 kB / 0.7062 GB, free: 26.27 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.3535, allocations: 48.77 kB / 0.7063 GB, free: 26.22 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=89): time 2.635e-06/0.3535, allocations: 0 / 0.7063 GB, free: 26.22 MB / 0.5606 GB Notification: Performance of matching and sorting (n=131): time 0.0588/0.4123, allocations: 12.63 MB / 0.7186 GB, free: 20.17 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.4124, allocations: 65.09 kB / 0.7187 GB, free: 20.11 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.4135, allocations: 0.9749 MB / 0.7196 GB, free: 19.56 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001704/0.4137, allocations: 52.05 kB / 0.7197 GB, free: 19.51 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003284/0.414, allocations: 0.7348 MB / 0.7204 GB, free: 18.86 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003206/0.4144, allocations: 467.3 kB / 0.7208 GB, free: 18.45 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004779/0.4148, allocations: 258.3 kB / 0.7211 GB, free: 18.31 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.819e-05/0.4149, allocations: 359.9 kB / 0.7214 GB, free: 17.96 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003348/0.4183, allocations: 1.335 MB / 0.7227 GB, free: 17.28 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003565/0.4218, allocations: 1.614 MB / 0.7243 GB, free: 16.28 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00659/0.4284, allocations: 2.993 MB / 0.7272 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.4284, allocations: 4 kB / 0.7272 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01085/0.4393, allocations: 4.381 MB / 0.7315 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.4393, allocations: 17.88 kB / 0.7315 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.4393, allocations: 4 kB / 0.7315 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005023/0.4443, allocations: 1.429 MB / 0.7329 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002033/0.4464, allocations: 435.2 kB / 0.7333 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02686/0.4732, allocations: 24.8 MB / 0.7576 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002992/0.4762, allocations: 303.6 kB / 0.7578 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00019/0.4764, allocations: 66.88 kB / 0.7579 GB, free: 13.14 MB / 0.5919 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009891/0.4774, allocations: 433.5 kB / 0.7583 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003075/0.4777, allocations: 151.1 kB / 0.7585 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01298/0.4907, allocations: 4.417 MB / 0.7628 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/0.4907, allocations: 12 kB / 0.7628 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-05/0.4907, allocations: 12 kB / 0.7628 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.421e-05/0.4907, allocations: 11.97 kB / 0.7628 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0164/0.5071, allocations: 6.144 MB / 0.7688 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.5071, allocations: 4 kB / 0.7688 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00207/0.5092, allocations: 375.4 kB / 0.7692 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00515/0.5144, allocations: 1.302 MB / 0.7704 GB, free: 80 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001358/0.5145, allocations: 35.97 kB / 0.7705 GB, free: 44 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02759/0.5421, allocations: 23.66 MB / 0.7936 GB, free: 7.062 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.5421, allocations: 7.938 kB / 0.7936 GB, free: 7.055 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01225/0.5543, allocations: 4.144 MB / 0.7976 GB, free: 2.82 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009762/0.5553, allocations: 366.8 kB / 0.798 GB, free: 2.461 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002584/0.5556, allocations: 28.47 kB / 0.798 GB, free: 2.434 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002278/0.5579, allocations: 307.4 kB / 0.7983 GB, free: 2.133 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004382/0.5583, allocations: 136.6 kB / 0.7984 GB, free: 1.996 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001432/0.5584, allocations: 51.97 kB / 0.7985 GB, free: 1.945 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009254/0.5594, allocations: 0.6467 MB / 0.7991 GB, free: 1.293 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5594, allocations: 3.938 kB / 0.7991 GB, free: 1.289 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002034/0.5614, allocations: 0.5625 MB / 0.7997 GB, free: 0.7266 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003066/0.5617, allocations: 147 kB / 0.7998 GB, free: 0.5742 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01179/0.5735, allocations: 4.958 MB / 0.8047 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.5735, allocations: 4 kB / 0.8047 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.007653/0.5812, allocations: 3.421 MB / 0.808 GB, free: 7.852 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002927/0.5841, allocations: 0.5108 MB / 0.8085 GB, free: 7.379 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008983/0.5931, allocations: 4.018 MB / 0.8124 GB, free: 3.305 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/0.5941, allocations: 0.8867 MB / 0.8133 GB, free: 2.383 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001319/0.5954, allocations: 408.3 kB / 0.8137 GB, free: 1.98 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004199/0.5958, allocations: 112.4 kB / 0.8138 GB, free: 1.871 MB / 0.6387 GB Notification: Performance of SimCode: time 6.22e-07/0.5958, allocations: 4 kB / 0.8138 GB, free: 1.867 MB / 0.6387 GB Notification: Performance of Templates: time 0.06565/0.6615, allocations: 40.19 MB / 0.853 GB, free: 10.38 MB / 0.6856 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.265305541455746] Failed to read output from testmodel.py, exit status != 0: 0.6701126024127007 0.683864546 0.386258423 Calling exit ...