Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.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.001325/0.001325, allocations: 100.4 kB / 19.7 MB, free: 2.125 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.00157/0.00157, allocations: 212.2 kB / 22.99 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.434/1.434, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.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.002553/0.002553, allocations: 293.7 kB / 313.5 MB, free: 2.617 MB / 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.27/1.27, allocations: 180.6 MB / 0.5377 GB, free: 14.6 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 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.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine") [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.00302/0.00302, allocations: 101.7 kB / 0.7407 GB, free: 27.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.1853, allocations: 95.39 MB / 0.8339 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.0145/0.1998, allocations: 10.32 MB / 0.844 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01496/0.2147, allocations: 8.505 MB / 0.8523 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0015/0.2162, allocations: 79.31 kB / 0.8523 GB, free: 4.766 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004952/0.2212, allocations: 1.673 MB / 0.854 GB, free: 3.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005283/0.2265, allocations: 1.568 MB / 0.8555 GB, free: 1.523 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00206/0.2285, allocations: 0.6744 MB / 0.8562 GB, free: 0.8477 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003395/0.2319, allocations: 2.287 MB / 0.8584 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001853/0.2338, allocations: 1.133 MB / 0.8595 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001824/0.2356, allocations: 1.039 MB / 0.8605 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001587/0.2372, allocations: 1.004 MB / 0.8615 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002347/0.2374, allocations: 140 kB / 0.8616 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00174/0.2392, allocations: 0.7447 MB / 0.8624 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006945/0.2399, allocations: 0.5841 MB / 0.8629 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009779/0.2408, allocations: 0.7193 MB / 0.8636 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003964/0.2448, allocations: 2.599 MB / 0.8662 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.819e-06/0.2448, allocations: 3.984 kB / 0.8662 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.597e-06/0.2448, allocations: 0 / 0.8662 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.497e-05/0.2449, allocations: 0 / 0.8662 GB, free: 6.523 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.004214/0.2491, allocations: 1.991 MB / 0.8681 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.2491, allocations: 9.344 kB / 0.8681 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01132/0.2604, allocations: 2.059 MB / 0.8701 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003378/0.2638, allocations: 1.137 MB / 0.8712 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.282e-05/0.2639, allocations: 90.69 kB / 0.8713 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002723/0.2642, allocations: 124.1 kB / 0.8714 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006837/0.271, allocations: 2.877 MB / 0.8743 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.63e-05/0.2711, allocations: 11.92 kB / 0.8743 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001762/0.2713, allocations: 51.98 kB / 0.8743 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003956/0.2717, allocations: 126.1 kB / 0.8744 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007697/0.2793, allocations: 2.541 MB / 0.8769 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01313/0.2925, allocations: 7.426 MB / 0.8842 GB, free: 3.562 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006418/0.2989, allocations: 1.843 MB / 0.886 GB, free: 1.711 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002854/0.3017, allocations: 0.9464 MB / 0.8869 GB, free: 0.7617 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.951e-05/0.3018, allocations: 8.438 kB / 0.8869 GB, free: 0.7539 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.219e-05/0.3018, allocations: 39 kB / 0.8869 GB, free: 0.707 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=53): time 2.805e-06/0.3018, allocations: 0 / 0.8869 GB, free: 0.707 MB / 0.6231 GB Notification: Performance of matching and sorting (n=81): time 0.03262/0.3345, allocations: 8.622 MB / 0.8954 GB, free: 8.047 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.3345, allocations: 64.06 kB / 0.8954 GB, free: 7.973 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/0.3359, allocations: 0.9671 MB / 0.8964 GB, free: 6.992 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001113/0.3361, allocations: 37.7 kB / 0.8964 GB, free: 6.949 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006523/0.3367, allocations: 0.758 MB / 0.8971 GB, free: 6.184 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003151/0.337, allocations: 297.5 kB / 0.8974 GB, free: 5.891 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004017/0.3374, allocations: 202.5 kB / 0.8976 GB, free: 5.688 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001973/0.3376, allocations: 341.9 kB / 0.8979 GB, free: 5.348 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00309/0.3407, allocations: 1.075 MB / 0.899 GB, free: 4.273 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003308/0.344, allocations: 1.301 MB / 0.9003 GB, free: 2.871 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006345/0.3504, allocations: 2.39 MB / 0.9026 GB, free: 396 kB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.3504, allocations: 0 / 0.9026 GB, free: 396 kB / 0.6387 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009208/0.3596, allocations: 3.238 MB / 0.9058 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.161e-05/0.3596, allocations: 14.66 kB / 0.9058 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.3596, allocations: 8 kB / 0.9058 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002786/0.3624, allocations: 0.791 MB / 0.9066 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00196/0.3644, allocations: 419.3 kB / 0.907 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01715/0.3815, allocations: 14.81 MB / 0.9214 GB, free: 12.24 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00229/0.3838, allocations: 295.6 kB / 0.9217 GB, free: 11.95 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/0.3839, allocations: 47.97 kB / 0.9217 GB, free: 11.9 MB / 0.67 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007762/0.3847, allocations: 404.4 kB / 0.9221 GB, free: 11.5 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000232/0.3849, allocations: 135.2 kB / 0.9223 GB, free: 11.37 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008995/0.3939, allocations: 3.169 MB / 0.9254 GB, free: 8.16 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.158e-06/0.3939, allocations: 15.94 kB / 0.9254 GB, free: 8.145 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/0.3939, allocations: 4 kB / 0.9254 GB, free: 8.141 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.394, allocations: 3.984 kB / 0.9254 GB, free: 8.137 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01139/0.4053, allocations: 4.476 MB / 0.9297 GB, free: 3.555 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.4053, allocations: 0 / 0.9297 GB, free: 3.555 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001675/0.407, allocations: 355.3 kB / 0.9301 GB, free: 3.207 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002341/0.4094, allocations: 0.7022 MB / 0.9308 GB, free: 2.48 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.704e-05/0.4095, allocations: 27.97 kB / 0.9308 GB, free: 2.453 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01613/0.4256, allocations: 14.43 MB / 0.9449 GB, free: 3.203 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.4256, allocations: 4.188 kB / 0.9449 GB, free: 3.199 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008428/0.434, allocations: 3.012 MB / 0.9478 GB, free: 112 kB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000932/0.435, allocations: 303.1 kB / 0.9481 GB, free: 15.81 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001843/0.4351, allocations: 16 kB / 0.9481 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001852/0.437, allocations: 291.5 kB / 0.9484 GB, free: 15.51 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002647/0.4373, allocations: 80.45 kB / 0.9485 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.599e-05/0.4374, allocations: 47.7 kB / 0.9485 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0008837/0.4382, allocations: 0.6307 MB / 0.9492 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4382, allocations: 0 / 0.9492 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001397/0.4396, allocations: 432 kB / 0.9496 GB, free: 14.33 MB / 0.7012 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,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.0002588/0.4399, allocations: 135 kB / 0.9497 GB, free: 14.19 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.00876/0.4487, allocations: 3.511 MB / 0.9531 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/0.4487, allocations: 4 kB / 0.9531 GB, free: 10.56 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.005182/0.4538, allocations: 2.324 MB / 0.9554 GB, free: 8.133 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00204/0.4559, allocations: 479.8 kB / 0.9559 GB, free: 7.688 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007878/0.4638, allocations: 3.595 MB / 0.9594 GB, free: 4.035 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009512/0.4647, allocations: 0.8015 MB / 0.9602 GB, free: 3.191 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005374/0.4652, allocations: 119.3 kB / 0.9603 GB, free: 3.074 MB / 0.7012 GB Notification: Performance of SimCode: time 9.52e-07/0.4652, allocations: 0 / 0.9603 GB, free: 3.074 MB / 0.7012 GB Notification: Performance of Templates: time 0.4509/0.9162, allocations: 74.93 MB / 1.033 GB, free: 131.6 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.291595168411732] Failed to read output from testmodel.py, exit status != 0: 0.9239108078181744 0.9336659770000001 0.6865406380000001 Calling exit ...