Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.00138/0.00138, allocations: 79.36 kB / 19.18 MB, free: 2.52 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.001571/0.001571, allocations: 166.6 kB / 22.46 MB, free: 5.375 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.421/1.421, allocations: 177.2 MB / 202.8 MB, free: 9.168 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.002444/0.002444, allocations: 241.2 kB / 259.4 MB, free: 468 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.079/1.079, allocations: 138.4 MB / 454.3 MB, free: 2 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.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.6468 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.251e-05/3.435e-05, allocations: 5.656 kB / 0.6468 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.2657/0.2658, allocations: 5.206 MB / 0.6519 GB, free: 53.4 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003561/0.2693, allocations: 2.572 MB / 0.6544 GB, free: 53.32 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002304/0.2696, allocations: 30.5 kB / 0.6544 GB, free: 53.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001579/0.2711, allocations: 0.6814 MB / 0.6551 GB, free: 53.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0007162/0.2719, allocations: 444.1 kB / 0.6555 GB, free: 53.01 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007362/0.2726, allocations: 401.3 kB / 0.6559 GB, free: 52.93 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007461/0.2733, allocations: 0.9825 MB / 0.6568 GB, free: 52.49 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004323/0.2738, allocations: 384 kB / 0.6572 GB, free: 52.32 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005161/0.2743, allocations: 0.5175 MB / 0.6577 GB, free: 52.11 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004293/0.2747, allocations: 364.9 kB / 0.6581 GB, free: 52.01 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.468e-05/0.2748, allocations: 48.88 kB / 0.6581 GB, free: 52.01 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004532/0.2752, allocations: 334.6 kB / 0.6584 GB, free: 51.9 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001804/0.2754, allocations: 262.9 kB / 0.6587 GB, free: 51.79 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002247/0.2756, allocations: 236.9 kB / 0.6589 GB, free: 51.69 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008219/0.2765, allocations: 0.9929 MB / 0.6599 GB, free: 51.37 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2765, allocations: 0 / 0.6599 GB, free: 51.37 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.083e-06/0.2765, allocations: 0.8438 kB / 0.6599 GB, free: 51.37 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.347e-06/0.2765, allocations: 0 / 0.6599 GB, free: 51.37 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001263/0.2777, allocations: 0.9152 MB / 0.6608 GB, free: 50.73 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.2778, allocations: 10.62 kB / 0.6608 GB, free: 50.73 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001357/0.2791, allocations: 207.2 kB / 0.661 GB, free: 50.69 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006265/0.2798, allocations: 445.5 kB / 0.6614 GB, free: 50.41 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/0.2798, allocations: 39.58 kB / 0.6614 GB, free: 50.39 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.2799, allocations: 58.94 kB / 0.6615 GB, free: 50.37 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000921/0.2809, allocations: 0.9744 MB / 0.6625 GB, free: 49.72 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/0.2809, allocations: 3.156 kB / 0.6625 GB, free: 49.72 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.788e-05/0.2809, allocations: 30.73 kB / 0.6625 GB, free: 49.7 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001753/0.2811, allocations: 67.03 kB / 0.6625 GB, free: 49.7 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007267/0.2818, allocations: 0.5723 MB / 0.6631 GB, free: 49.49 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002942/0.2848, allocations: 3.48 MB / 0.6665 GB, free: 46.77 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003931/0.2852, allocations: 276.2 kB / 0.6668 GB, free: 46.66 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002445/0.2854, allocations: 219.2 kB / 0.667 GB, free: 46.57 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.2854, allocations: 7.094 kB / 0.667 GB, free: 46.57 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.2855, allocations: 33.66 kB / 0.667 GB, free: 46.53 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.774e-06/0.2855, allocations: 0 / 0.667 GB, free: 46.53 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.004914/0.2904, allocations: 2.323 MB / 0.6693 GB, free: 45.52 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.111e-05/0.2904, allocations: 60.31 kB / 0.6693 GB, free: 45.45 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003255/0.2907, allocations: 424.8 kB / 0.6697 GB, free: 45.24 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.2908, allocations: 29.7 kB / 0.6698 GB, free: 45.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.2909, allocations: 358.8 kB / 0.6701 GB, free: 44.91 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.143e-05/0.291, allocations: 154.7 kB / 0.6703 GB, free: 44.79 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.2911, allocations: 100.9 kB / 0.6704 GB, free: 44.73 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.435e-05/0.2912, allocations: 363.6 kB / 0.6707 GB, free: 44.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003273/0.2915, allocations: 241.6 kB / 0.6709 GB, free: 44.31 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003731/0.2919, allocations: 407.6 kB / 0.6713 GB, free: 44.02 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007047/0.2926, allocations: 0.6754 MB / 0.672 GB, free: 43.59 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.2926, allocations: 0.5625 kB / 0.672 GB, free: 43.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001512/0.2941, allocations: 0.9082 MB / 0.6729 GB, free: 43.21 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.2941, allocations: 11.56 kB / 0.6729 GB, free: 43.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.2941, allocations: 6.188 kB / 0.6729 GB, free: 43.21 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007866/0.2949, allocations: 222.1 kB / 0.6731 GB, free: 43.14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004997/0.2954, allocations: 123.1 kB / 0.6732 GB, free: 43.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003942/0.2994, allocations: 4.934 MB / 0.678 GB, free: 38.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004372/0.2998, allocations: 33.08 kB / 0.6781 GB, free: 38.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.113e-05/0.2998, allocations: 27.19 kB / 0.6781 GB, free: 38.95 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * 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 {(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.0002642/0.3001, allocations: 227.2 kB / 0.6783 GB, free: 38.79 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.117e-05/0.3002, allocations: 54.23 kB / 0.6784 GB, free: 38.76 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001411/0.3016, allocations: 0.7645 MB / 0.6791 GB, free: 38.43 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3016, allocations: 2.625 kB / 0.6791 GB, free: 38.43 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3016, allocations: 4.531 kB / 0.6791 GB, free: 38.43 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.3016, allocations: 1.969 kB / 0.6791 GB, free: 38.43 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002157/0.3038, allocations: 1.328 MB / 0.6804 GB, free: 37.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.3038, allocations: 2 kB / 0.6804 GB, free: 37.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003896/0.3042, allocations: 72.11 kB / 0.6805 GB, free: 37.74 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000679/0.3048, allocations: 205.3 kB / 0.6807 GB, free: 37.68 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.176e-05/0.3049, allocations: 12.28 kB / 0.6807 GB, free: 37.67 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003863/0.3087, allocations: 4.871 MB / 0.6855 GB, free: 33.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.3087, allocations: 7.031 kB / 0.6855 GB, free: 33.53 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001672/0.3104, allocations: 1.11 MB / 0.6865 GB, free: 32.97 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001885/0.3106, allocations: 87.98 kB / 0.6866 GB, free: 32.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.661e-05/0.3107, allocations: 22.11 kB / 0.6866 GB, free: 32.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003344/0.311, allocations: 27.62 kB / 0.6867 GB, free: 32.91 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.853e-05/0.3111, allocations: 38.22 kB / 0.6867 GB, free: 32.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.13e-05/0.3111, allocations: 17.27 kB / 0.6867 GB, free: 32.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002868/0.3114, allocations: 284 kB / 0.687 GB, free: 32.77 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.3114, allocations: 0 / 0.687 GB, free: 32.77 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006607/0.3121, allocations: 165.4 kB / 0.6872 GB, free: 32.75 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001329/0.3122, allocations: 116.6 kB / 0.6873 GB, free: 32.64 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001441/0.3137, allocations: 0.9593 MB / 0.6882 GB, free: 32.09 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3137, allocations: 0 / 0.6882 GB, free: 32.09 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008629/0.3145, allocations: 0.6727 MB / 0.6889 GB, free: 31.63 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008713/0.3154, allocations: 164.1 kB / 0.689 GB, free: 31.59 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.3171, allocations: 1.211 MB / 0.6902 GB, free: 30.91 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.3174, allocations: 349.2 kB / 0.6905 GB, free: 30.79 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003082/0.3177, allocations: 111.2 kB / 0.6906 GB, free: 30.77 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.3179, allocations: 36.23 kB / 0.6907 GB, free: 30.76 MB / 0.5606 GB Notification: Performance of SimCode: time 6.42e-07/0.3179, allocations: 0 / 0.6907 GB, free: 30.76 MB / 0.5606 GB Notification: Performance of Templates: time 0.01794/0.3358, allocations: 9.05 MB / 0.6995 GB, free: 29.8 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.1085208505392075] Failed to read output from testmodel.py, exit status != 0: 0.34358613938093185 0.353941317 0.07500783699999994 Calling exit ...