Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.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.001331/0.001331, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001423/0.001423, allocations: 217.9 kB / 23 MB, free: 4.914 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.002533/0.002533, allocations: 280.7 kB / 313.5 MB, free: 2.641 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.259/1.259, allocations: 180.6 MB / 0.5377 GB, free: 14.55 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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.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.002987/0.002987, allocations: 106.8 kB / 0.7407 GB, free: 27.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2138, allocations: 95.37 MB / 0.8339 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.008851/0.2226, allocations: 5.92 MB / 0.8396 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005842/0.2285, allocations: 3.122 MB / 0.8427 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004901/0.229, allocations: 39.62 kB / 0.8427 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002657/0.2316, allocations: 0.9351 MB / 0.8436 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001232/0.2329, allocations: 493.5 kB / 0.8441 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.2341, allocations: 485.2 kB / 0.8446 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001331/0.2354, allocations: 1.104 MB / 0.8457 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007875/0.2362, allocations: 0.5022 MB / 0.8461 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006144/0.2368, allocations: 454.4 kB / 0.8466 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006949/0.2375, allocations: 474.1 kB / 0.847 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.2376, allocations: 60 kB / 0.8471 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008698/0.2385, allocations: 443 kB / 0.8475 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003577/0.2389, allocations: 295.1 kB / 0.8478 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003528/0.2392, allocations: 326.5 kB / 0.8481 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001359/0.2406, allocations: 1.187 MB / 0.8493 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2406, allocations: 0 / 0.8493 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2406, allocations: 0 / 0.8493 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.2406, allocations: 4 kB / 0.8493 GB, free: 8.008 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.001741/0.2423, allocations: 0.9986 MB / 0.8502 GB, free: 6.973 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.2424, allocations: 17.88 kB / 0.8503 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001417/0.2438, allocations: 224.2 kB / 0.8505 GB, free: 6.738 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.2448, allocations: 0.5204 MB / 0.851 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.965e-05/0.2449, allocations: 49.67 kB / 0.851 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.245, allocations: 68.36 kB / 0.8511 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001617/0.2466, allocations: 1.13 MB / 0.8522 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.313e-05/0.2466, allocations: 11.89 kB / 0.8522 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.707e-05/0.2467, allocations: 27.98 kB / 0.8522 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.751e-05/0.2468, allocations: 69.27 kB / 0.8523 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.2479, allocations: 0.6957 MB / 0.853 GB, free: 4.004 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00504/0.2529, allocations: 4.39 MB / 0.8573 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007772/0.2537, allocations: 414.1 kB / 0.8577 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008538/0.2546, allocations: 392.6 kB / 0.858 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.314e-05/0.2546, allocations: 7.938 kB / 0.858 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.2546, allocations: 42.56 kB / 0.8581 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=41): time 1.914e-06/0.2546, allocations: 0 / 0.8581 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42): time 0.004301/0.2589, allocations: 1.699 MB / 0.8597 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/0.259, allocations: 59.34 kB / 0.8598 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005023/0.2595, allocations: 433.8 kB / 0.8602 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.117e-05/0.2595, allocations: 33.7 kB / 0.8602 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003166/0.2598, allocations: 400 kB / 0.8606 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001431/0.26, allocations: 150.7 kB / 0.8608 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001734/0.2602, allocations: 118.2 kB / 0.8609 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002063/0.2604, allocations: 358.8 kB / 0.8612 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000379/0.2607, allocations: 245.2 kB / 0.8615 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005511/0.2613, allocations: 449 kB / 0.8619 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/0.2623, allocations: 0.748 MB / 0.8626 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.2623, allocations: 4 kB / 0.8626 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001918/0.2642, allocations: 1.027 MB / 0.8636 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.2643, allocations: 8 kB / 0.8636 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.2643, allocations: 8 kB / 0.8636 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/0.2653, allocations: 319.8 kB / 0.8639 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003181/0.2657, allocations: 103.8 kB / 0.864 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007784/0.2735, allocations: 6.93 MB / 0.8708 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005016/0.274, allocations: 36.02 kB / 0.8708 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.813e-05/0.274, allocations: 24 kB / 0.8709 GB, free: 0.793 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.0004055/0.2744, allocations: 249.7 kB / 0.8711 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.864e-05/0.2745, allocations: 63.62 kB / 0.8712 GB, free: 492 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001765/0.2763, allocations: 0.8804 MB / 0.872 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.2763, allocations: 4 kB / 0.872 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.2763, allocations: 11.94 kB / 0.872 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.2763, allocations: 3.984 kB / 0.872 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002696/0.279, allocations: 1.489 MB / 0.8735 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.279, allocations: 0 / 0.8735 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.2792, allocations: 39.97 kB / 0.8735 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009269/0.2801, allocations: 315.5 kB / 0.8738 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.023e-05/0.2801, allocations: 11.94 kB / 0.8739 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007597/0.2877, allocations: 6.921 MB / 0.8806 GB, free: 6.305 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.047e-05/0.2877, allocations: 15.94 kB / 0.8806 GB, free: 6.289 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001779/0.2895, allocations: 0.9653 MB / 0.8816 GB, free: 5.277 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003055/0.2898, allocations: 95.62 kB / 0.8817 GB, free: 5.184 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.329e-05/0.2899, allocations: 12 kB / 0.8817 GB, free: 5.172 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002646/0.2901, allocations: 23.92 kB / 0.8817 GB, free: 5.148 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.872e-05/0.2902, allocations: 39.92 kB / 0.8817 GB, free: 5.109 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.869e-05/0.2903, allocations: 12 kB / 0.8817 GB, free: 5.098 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003288/0.2906, allocations: 282.9 kB / 0.882 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.2906, allocations: 0 / 0.882 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000765/0.2914, allocations: 196 kB / 0.8822 GB, free: 4.633 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.0001652/0.2915, allocations: 115.1 kB / 0.8823 GB, free: 4.512 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001912/0.2934, allocations: 1.16 MB / 0.8834 GB, free: 3.301 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.2934, allocations: 0 / 0.8834 GB, free: 3.301 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001285/0.2947, allocations: 0.8347 MB / 0.8843 GB, free: 2.414 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009337/0.2957, allocations: 204.9 kB / 0.8845 GB, free: 2.23 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002257/0.2979, allocations: 1.305 MB / 0.8857 GB, free: 0.8711 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004731/0.2984, allocations: 394.7 kB / 0.8861 GB, free: 472 kB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.687e-05/0.2985, allocations: 35.44 kB / 0.8861 GB, free: 436 kB / 0.6231 GB Notification: Performance of SimCode: time 5.21e-07/0.2985, allocations: 4 kB / 0.8861 GB, free: 432 kB / 0.6231 GB Notification: Performance of Templates: time 0.025/0.3235, allocations: 18.63 MB / 0.9043 GB, free: 13.82 MB / 0.6544 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.019387925975025] Failed to read output from testmodel.py, exit status != 0: 0.33182628359645605 0.346639642 0.10297220700000001 Calling exit ...